| |
|
| java.lang.Object java.nio.Buffer java.nio.FloatBuffer java.nio.FloatToByteBufferAdapter
FloatToByteBufferAdapter | final class FloatToByteBufferAdapter extends FloatBuffer implements DirectBuffer(Code) | | This class wraps a byte buffer to be a float buffer.
Implementation notice:
- After a byte buffer instance is wrapped, it becomes privately owned by
the adapter. It must NOT be accessed outside the adapter any more.
- The byte buffer's position and limit are NOT linked with the adapter.
The adapter extends Buffer, thus has its own position and limit.
|
addressValidityCheck | public void addressValidityCheck()(Code) | | |
get | public float get(int index)(Code) | | |
getBaseAddress | public PlatformAddress getBaseAddress()(Code) | | |
getByteCapacity | public int getByteCapacity()(Code) | | |
getEffectiveAddress | public PlatformAddress getEffectiveAddress()(Code) | | |
isAddressValid | public boolean isAddressValid()(Code) | | |
isDirect | public boolean isDirect()(Code) | | |
isReadOnly | public boolean isReadOnly()(Code) | | |
protectedArray | protected float[] protectedArray()(Code) | | |
protectedArrayOffset | protected int protectedArrayOffset()(Code) | | |
protectedHasArray | protected boolean protectedHasArray()(Code) | | |
|
|
|