| java.lang.Object java.nio.Buffer java.nio.CharBuffer java.nio.CharToByteBufferAdapter
CharToByteBufferAdapter | final class CharToByteBufferAdapter extends CharBuffer implements DirectBuffer(Code) | | This class wraps a byte buffer to be a char 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 char 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 char[] protectedArray()(Code) | | |
protectedArrayOffset | protected int protectedArrayOffset()(Code) | | |
protectedHasArray | protected boolean protectedHasArray()(Code) | | |
Methods inherited from java.nio.CharBuffer | public static CharBuffer allocate(int capacity)(Code)(Java Doc) public CharBuffer append(char c)(Code)(Java Doc) public CharBuffer append(CharSequence csq)(Code)(Java Doc) public CharBuffer append(CharSequence csq, int start, int end)(Code)(Java Doc) final public char[] array()(Code)(Java Doc) final public int arrayOffset()(Code)(Java Doc) abstract public CharBuffer asReadOnlyBuffer()(Code)(Java Doc) final public char charAt(int index)(Code)(Java Doc) abstract public CharBuffer compact()(Code)(Java Doc) public int compareTo(CharBuffer otherBuffer)(Code)(Java Doc) abstract public CharBuffer duplicate()(Code)(Java Doc) public boolean equals(Object other)(Code)(Java Doc) abstract public char get()(Code)(Java Doc) public CharBuffer get(char[] dest)(Code)(Java Doc) public CharBuffer get(char[] dest, int off, int len)(Code)(Java Doc) abstract public char get(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 int length()(Code)(Java Doc) abstract public ByteOrder order()(Code)(Java Doc) abstract char[] protectedArray()(Code)(Java Doc) abstract int protectedArrayOffset()(Code)(Java Doc) abstract boolean protectedHasArray()(Code)(Java Doc) abstract public CharBuffer put(char c)(Code)(Java Doc) final public CharBuffer put(char[] src)(Code)(Java Doc) public CharBuffer put(char[] src, int off, int len)(Code)(Java Doc) public CharBuffer put(CharBuffer src)(Code)(Java Doc) abstract public CharBuffer put(int index, char c)(Code)(Java Doc) final public CharBuffer put(String str)(Code)(Java Doc) public CharBuffer put(String str, int start, int end)(Code)(Java Doc) public int read(CharBuffer target) throws IOException(Code)(Java Doc) abstract public CharBuffer slice()(Code)(Java Doc) abstract public CharSequence subSequence(int start, int end)(Code)(Java Doc) public String toString()(Code)(Java Doc) public static CharBuffer wrap(char[] array)(Code)(Java Doc) public static CharBuffer wrap(char[] array, int start, int len)(Code)(Java Doc) public static CharBuffer wrap(CharSequence chseq)(Code)(Java Doc) public static CharBuffer wrap(CharSequence chseq, int start, int end)(Code)(Java Doc)
|
|
|