Home » openjdk-7 » java » nio » [javadoc | source]
final class: CharBufferImpl [javadoc | source]

All Implemented Interfaces:
    CharSequence, Comparable, Appendable, Readable

This is a Heap memory implementation
Fields inherited from java.nio.Buffer:
 CharBufferImpl(int capacity) 
 public CharBufferImpl(CharBufferImpl copy) 
 CharBufferImpl(char[] buffer,
    int offset,
    int capacity,
    int limit,
    int position,
    int mark,
    boolean readOnly) 
Method from java.nio.CharBufferImpl Summary:
asReadOnlyBuffer,   compact,   duplicate,   get,   get,   get,   isDirect,   isReadOnly,   order,   put,   put,   put,   slice,   subSequence
Methods from java.nio.CharBuffer:
allocate,   append,   append,   append,   array,   arrayOffset,   asReadOnlyBuffer,   charAt,   compact,   compareTo,   duplicate,   equals,   get,   get,   get,   get,   hasArray,   hashCode,   isDirect,   length,   order,   protectedArray,   protectedArrayOffset,   protectedHasArray,   put,   put,   put,   put,   put,   put,   put,   read,   slice,   subSequence,   toString,   wrap,   wrap,   wrap,   wrap
Methods from java.nio.Buffer:
array,   arrayOffset,   capacity,   checkBounds,   checkIndex,   checkIndex,   clear,   discardMark,   flip,   hasArray,   hasRemaining,   isDirect,   isReadOnly,   limit,   limit,   mark,   markValue,   nextGetIndex,   nextGetIndex,   nextPutIndex,   nextPutIndex,   position,   position,   remaining,   reset,   rewind
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.nio.CharBufferImpl Detail:
 public CharBuffer asReadOnlyBuffer() 
 public CharBuffer compact() 
 public CharBuffer duplicate() 
 public char get() 
    Reads the char at this buffer's current position, and then increments the position.
 public char get(int index) 
    Absolute get method. Reads the char at position index.
 public CharBuffer get(char[] dst,
    int offset,
    int length) 
    Bulk get, overloaded for speed.
 public boolean isDirect() 
 public boolean isReadOnly() 
 public ByteOrder order() 
 public CharBuffer put(char value) 
    Relative put method. Writes value to the next position in the buffer.
 public CharBuffer put(int index,
    char value) 
    Absolute put method. Writes value to position index in the buffer.
 public CharBuffer put(char[] src,
    int offset,
    int length) 
    Bulk put, overloaded for speed.
 public CharBuffer slice() 
 public CharSequence subSequence(int start,
    int end)