| Modifier and Type | Field and Description |
|---|---|
| private final Object |
| Access | Constructor and Description |
|---|---|
| pack-priv | DirectIntBufferS(DirectBuffer db, int mark, int pos, int lim, int cap, int off, MemorySegment segment)
|
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public IntBuffer | asReadOnlyBuffer()
Implements abstract java. Creates a new, read-only int buffer that shares this buffer's content. |
| public Object | |
| pack-priv Object | |
| public Cleaner | |
| public IntBuffer | |
| public IntBuffer | duplicate()
Implements abstract java. Creates a new int buffer that shares this buffer's content. |
| public int | |
| public int | |
| public boolean | isDirect()
Implements abstract java. Tells whether or not this int buffer is direct. |
| public boolean | isReadOnly()
Implements abstract java. Tells whether or not this buffer is read-only. |
| private long | |
| public ByteOrder | |
| public IntBuffer | |
| public IntBuffer | put(int i, int x)
Implements abstract java. Absolute put method (optional operation). |
| public IntBuffer | slice()
Implements abstract java. Creates a new int buffer whose content is a shared subsequence of this buffer's content. |
| public IntBuffer | slice(int index, int length)
Implements abstract java. Creates a new int buffer whose content is a shared subsequence of this buffer's content. |
| att | back to summary |
|---|---|
| private final Object att | |
| DirectIntBufferS | back to summary |
|---|---|
| pack-priv DirectIntBufferS(DirectBuffer db, int mark, int pos, int lim, int cap, int off, MemorySegment segment) | |
| address | back to summary |
|---|---|
| public long address() Implements sun. | |
| asReadOnlyBuffer | back to summary |
|---|---|
| public IntBuffer asReadOnlyBuffer() Implements abstract java. Doc from java. Creates a new, read-only int buffer that shares this buffer's content. The content of the new buffer will be that of this buffer. Changes to this buffer's content will be visible in the new buffer; the new buffer itself, however, will be read-only and will not allow the shared content to be modified. The two buffers' position, limit, and mark values will be independent. The new buffer's capacity, limit, position, mark values, and byte order will be identical to those of this buffer. If this buffer is itself read-only then this method behaves in
exactly the same way as the | |
| attachment | back to summary |
|---|---|
| public Object attachment() Implements sun. | |
| base | back to summary |
|---|---|
| pack-priv Object base() Overrides java.
| |
| cleaner | back to summary |
|---|---|
| public Cleaner cleaner() Implements sun. | |
| compact | back to summary |
|---|---|
| public IntBuffer compact() Implements abstract java. Doc from java. Compacts this buffer (optional operation). The ints between the buffer's current position and its limit,
if any, are copied to the beginning of the buffer. That is, the
int at index p = The buffer's position is set to the number of ints copied, rather than to zero, so that an invocation of this method can be followed immediately by an invocation of another relative put method. | |
| duplicate | back to summary |
|---|---|
| public IntBuffer duplicate() Implements abstract java. Doc from java. Creates a new int buffer that shares this buffer's content. The content of the new buffer will be that of this buffer. Changes to this buffer's content will be visible in the new buffer, and vice versa; the two buffers' position, limit, and mark values will be independent. The new buffer's capacity, limit, position, mark values, and byte order will be identical to those of this buffer. The new buffer will be direct if, and only if, this buffer is direct, and it will be read-only if, and only if, this buffer is read-only. | |
| get | back to summary |
|---|---|
| public int get() Implements abstract java. Doc from java. Relative get method. Reads the int at this buffer's current position, and then increments the position. | |
| get | back to summary |
|---|---|
| public int get(int i) Implements abstract java. Doc from java. Absolute get method. Reads the int at the given index. | |
| isDirect | back to summary |
|---|---|
| public boolean isDirect() Implements abstract java. Doc from java. Tells whether or not this int buffer is direct. | |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly() Implements abstract java. Doc from java. Tells whether or not this buffer is read-only. | |
| ix | back to summary |
|---|---|
| private long ix(int i) | |
| order | back to summary |
|---|---|
| public ByteOrder order() Implements abstract java. Doc from java. Retrieves this buffer's byte order. The byte order of an int buffer created by allocation or by
wrapping an existing | |
| put | back to summary |
|---|---|
| public IntBuffer put(int x) Implements abstract java. Doc from java. Relative put method (optional operation). Writes the given int into this buffer at the current position, and then increments the position. | |
| put | back to summary |
|---|---|
| public IntBuffer put(int i, int x) Implements abstract java. Doc from java. Absolute put method (optional operation). Writes the given int into this buffer at the given index. | |
| slice | back to summary |
|---|---|
| public IntBuffer slice() Implements abstract java. Doc from java. Creates a new int buffer whose content is a shared subsequence of this buffer's content. The content of the new buffer will start at this buffer's current position. Changes to this buffer's content will be visible in the new buffer, and vice versa; the two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of ints remaining in this buffer, its mark will be undefined, and its byte order will be identical to that of this buffer. The new buffer will be direct if, and only if, this buffer is direct, and it will be read-only if, and only if, this buffer is read-only. | |
| slice | back to summary |
|---|---|
| public IntBuffer slice(int index, int length) Implements abstract java. Doc from java. Creates a new int buffer whose content is a shared subsequence of this buffer's content. The content of the new buffer will start at position The new buffer's position will be zero, its capacity and its limit
will be
| |