allocate(int capacity) |
This method allocates a new long buffer. |
array() |
This method returns the long array that backs this buffer. |
arrayOffset() |
This method returns the offset within this buffer’s backing array of the first element of the buffer. |
asReadOnlyBuffer() |
This method creates a new, read-only long buffer that shares this buffer’s content. |
clear() |
This method clears this buffer. |
compact() |
This method compacts this buffer. |
compareTo(LongBuffer that) |
This method compares this buffer to another. |
duplicate() |
This method creates a new long buffer that shares this buffer’s content. |
equals(Object ob) |
This method tells whether or not this buffer is equal to another object. |
flip() |
This method flips this buffer. |
get() |
This method is a relative get method and returns the long at the buffer’s current position. |
get(int index) |
This method is an absolute get method and returns the long at the given index. |
get(long[] dst) |
This method is a relative bulk get method and returns this buffer. |
get(long[] dst, int offset, int length) |
This method is a relative bulk get method and returns this buffer. |
hasArray() |
This method tells whether this buffer is backed by an accessible long array. |
hashCode() |
This method returns the current hash code of this buffer. |
isDirect() |
This method tells whether this long buffer is direct. |
limit(int newLimit) |
This method sets this buffer’s limit. |
mark() |
This method sets this buffer’s mark at its position. |
order() |
This method retrieves this buffer’s byte order. |
position(int newPosition) |
This method sets this buffer’s position. |
put(int index, long l) |
This method is an absolute put method and returns this buffer. |
put(long l) |
This method is a relative put method and returns this buffer. |
put(long[] src) |
This method is a relative bulk put method and returns this buffer. |
put(long[] src, int offset, int length) |
This method is a relative bulk put method and returns this buffer. |
put(LongBuffer src) |
This method is a relative bulk put method and returns this buffer. |
reset() |
This method resets this buffer’s position to the previously-marked position. |
rewind() |
This method rewinds this buffer. |
slice() |
This method creates a new long buffer whose content is a shared subsequence of this buffer’s content. |
toString() |
This method returns a string summarizing the state of this buffer. |
wrap(long[] array) |
This method wraps a long array into a buffer. |
wrap(long[] array, int offset, int length) |
This method wraps a long array into a buffer. |