| Modifier and Type | Field and Description |
|---|---|
| protected final Buffer | |
| protected final int | |
| protected final int | |
| protected int |
| Access | Constructor and Description |
|---|---|
| protected | AbstractBuffer(final Buffer
shall be in target format. buffer, final int the target element size in bytes. elementSize, final int the target capacity in elements of size capacity)elementSize.capacity and elementSize should be match the equation w/ target buffer type capacity = elementSizeInBytes(buffer) * buffer.capacity() ) / elementSize |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public final int | |
| public final int | |
| public final int | |
| public final Buffer | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final int | |
| public final int | |
| public final B | |
| public final int | |
| public final B | |
| public String |
| buffer | back to summary |
|---|---|
| protected final Buffer buffer | |
| capacity | back to summary |
|---|---|
| protected final int capacity | |
| elementSize | back to summary |
|---|---|
| protected final int elementSize | |
| position | back to summary |
|---|---|
| protected int position | |
| AbstractBuffer | back to summary |
|---|---|
| protected AbstractBuffer(final Buffer buffer, final int elementSize, final int capacity) capacity and elementSize should be match the equation w/ target buffer type capacity = elementSizeInBytes(buffer) * buffer.capacity() ) / elementSize
| |
| array | back to summary |
|---|---|
| public Object array() throws UnsupportedOperationException Implements com.
| |
| arrayOffset | back to summary |
|---|---|
| public final int arrayOffset() Implements com.
| |
| capacity | back to summary |
|---|---|
| public final int capacity() Implements com.
| |
| elementSize | back to summary |
|---|---|
| public final int elementSize() Implements com.
| |
| getBuffer | back to summary |
|---|---|
| public final Buffer getBuffer() Implements com.
| |
| hasArray | back to summary |
|---|---|
| public final boolean hasArray() Implements com.
| |
| hasRemaining | back to summary |
|---|---|
| public final boolean hasRemaining() Implements com.
| |
| isDirect | back to summary |
|---|---|
| public final boolean isDirect() Implements com.
| |
| limit | back to summary |
|---|---|
| public final int limit() Implements com.
| |
| position | back to summary |
|---|---|
| public final int position() Implements com.
| |
| position | back to summary |
|---|---|
| public final B position(final int newPos) Implements com.
| |
| remaining | back to summary |
|---|---|
| public final int remaining() Implements com.
| |
| rewind | back to summary |
|---|---|
| public final B rewind() Implements com.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |