Save This Page
Home » openjdk-7 » java » nio » [javadoc | source]
final class: ReadWriteCharArrayBuffer [javadoc | source]

All Implemented Interfaces:
    CharSequence, Comparable, Appendable, Readable

CharArrayBuffer, ReadWriteCharArrayBuffer and ReadOnlyCharArrayBuffer compose the implementation of array based char buffers.

ReadWriteCharArrayBuffer extends CharArrayBuffer with all the write methods.

This class is marked final for runtime performance.

Fields inherited from java.nio.CharArrayBuffer:
backingArray,  offset
Fields inherited from java.nio.Buffer:
 ReadWriteCharArrayBuffer(char[] array) 
 ReadWriteCharArrayBuffer(int capacity) 
 ReadWriteCharArrayBuffer(int capacity,
    char[] backingArray,
    int arrayOffset) 
Method from java.nio.ReadWriteCharArrayBuffer Summary:
asReadOnlyBuffer,   compact,   copy,   duplicate,   isReadOnly,   protectedArray,   protectedArrayOffset,   protectedHasArray,   put,   put,   put,   slice
Methods from java.nio.CharArrayBuffer:
get,   get,   get,   isDirect,   order,   subSequence,   toString
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.ReadWriteCharArrayBuffer Detail:
 public CharBuffer asReadOnlyBuffer() 
 public CharBuffer compact() 
 static ReadWriteCharArrayBuffer copy(CharArrayBuffer other,
    int markOfOther) 
 public CharBuffer duplicate() 
 public boolean isReadOnly() 
 protected char[] protectedArray() 
 protected int protectedArrayOffset() 
 protected boolean protectedHasArray() 
 public CharBuffer put(char c) 
 public CharBuffer put(int index,
    char c) 
 public CharBuffer put(char[] src,
    int off,
    int len) 
 public CharBuffer slice()