| java.lang.Object java.nio.Buffer java.nio.ByteBuffer java.nio.BaseByteBuffer java.nio.HeapByteBuffer java.nio.ReadOnlyHeapByteBuffer
ReadOnlyHeapByteBuffer | final class ReadOnlyHeapByteBuffer extends HeapByteBuffer (Code) | | HeapByteBuffer, ReadWriteHeapByteBuffer and ReadOnlyHeapByteBuffer compose
the implementation of array based byte buffers.
ReadOnlyHeapByteBuffer extends HeapByteBuffer with all the write methods
throwing read only exception.
This class is marked final for runtime performance.
|
ReadOnlyHeapByteBuffer | ReadOnlyHeapByteBuffer(byte[] backingArray, int capacity, int arrayOffset)(Code) | | |
isReadOnly | public boolean isReadOnly()(Code) | | |
protectedArray | protected byte[] protectedArray()(Code) | | |
protectedArrayOffset | protected int protectedArrayOffset()(Code) | | |
protectedHasArray | protected boolean protectedHasArray()(Code) | | |
Methods inherited from java.nio.ByteBuffer | public static ByteBuffer allocate(int capacity)(Code)(Java Doc) public static ByteBuffer allocateDirect(int capacity)(Code)(Java Doc) final public byte[] array()(Code)(Java Doc) final public int arrayOffset()(Code)(Java Doc) abstract public CharBuffer asCharBuffer()(Code)(Java Doc) abstract public DoubleBuffer asDoubleBuffer()(Code)(Java Doc) abstract public FloatBuffer asFloatBuffer()(Code)(Java Doc) abstract public IntBuffer asIntBuffer()(Code)(Java Doc) abstract public LongBuffer asLongBuffer()(Code)(Java Doc) abstract public ByteBuffer asReadOnlyBuffer()(Code)(Java Doc) abstract public ShortBuffer asShortBuffer()(Code)(Java Doc) abstract public ByteBuffer compact()(Code)(Java Doc) public int compareTo(ByteBuffer otherBuffer)(Code)(Java Doc) abstract public ByteBuffer duplicate()(Code)(Java Doc) public boolean equals(Object other)(Code)(Java Doc) abstract public byte get()(Code)(Java Doc) public ByteBuffer get(byte[] dest)(Code)(Java Doc) public ByteBuffer get(byte[] dest, int off, int len)(Code)(Java Doc) abstract public byte get(int index)(Code)(Java Doc) abstract public char getChar()(Code)(Java Doc) abstract public char getChar(int index)(Code)(Java Doc) abstract public double getDouble()(Code)(Java Doc) abstract public double getDouble(int index)(Code)(Java Doc) abstract public float getFloat()(Code)(Java Doc) abstract public float getFloat(int index)(Code)(Java Doc) abstract public int getInt()(Code)(Java Doc) abstract public int getInt(int index)(Code)(Java Doc) abstract public long getLong()(Code)(Java Doc) abstract public long getLong(int index)(Code)(Java Doc) abstract public short getShort()(Code)(Java Doc) abstract public short getShort(int index)(Code)(Java Doc) final public boolean hasArray()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) abstract public boolean isDirect()(Code)(Java Doc) final public ByteOrder order()(Code)(Java Doc) final public ByteBuffer order(ByteOrder byteOrder)(Code)(Java Doc) ByteBuffer orderImpl(ByteOrder byteOrder)(Code)(Java Doc) abstract byte[] protectedArray()(Code)(Java Doc) abstract int protectedArrayOffset()(Code)(Java Doc) abstract boolean protectedHasArray()(Code)(Java Doc) abstract public ByteBuffer put(byte b)(Code)(Java Doc) final public ByteBuffer put(byte[] src)(Code)(Java Doc) public ByteBuffer put(byte[] src, int off, int len)(Code)(Java Doc) public ByteBuffer put(ByteBuffer src)(Code)(Java Doc) abstract public ByteBuffer put(int index, byte b)(Code)(Java Doc) abstract public ByteBuffer putChar(char value)(Code)(Java Doc) abstract public ByteBuffer putChar(int index, char value)(Code)(Java Doc) abstract public ByteBuffer putDouble(double value)(Code)(Java Doc) abstract public ByteBuffer putDouble(int index, double value)(Code)(Java Doc) abstract public ByteBuffer putFloat(float value)(Code)(Java Doc) abstract public ByteBuffer putFloat(int index, float value)(Code)(Java Doc) abstract public ByteBuffer putInt(int value)(Code)(Java Doc) abstract public ByteBuffer putInt(int index, int value)(Code)(Java Doc) abstract public ByteBuffer putLong(long value)(Code)(Java Doc) abstract public ByteBuffer putLong(int index, long value)(Code)(Java Doc) abstract public ByteBuffer putShort(short value)(Code)(Java Doc) abstract public ByteBuffer putShort(int index, short value)(Code)(Java Doc) abstract public ByteBuffer slice()(Code)(Java Doc) public String toString()(Code)(Java Doc) public static ByteBuffer wrap(byte[] array)(Code)(Java Doc) public static ByteBuffer wrap(byte[] array, int start, int len)(Code)(Java Doc)
|
|
|