Save This Page
Home » openjdk-7 » java » nio » [javadoc | source]
java.nio
final class: ShortBufferImpl [javadoc | source]
java.lang.Object
   java.nio.Buffer
      java.nio.ShortBuffer
         java.nio.ShortBufferImpl

All Implemented Interfaces:
    Comparable

This is a Heap memory implementation
Fields inherited from java.nio.Buffer:
address
Constructor:
 ShortBufferImpl(int capacity) 
 ShortBufferImpl(short[] buffer,
    int offset,
    int capacity,
    int limit,
    int position,
    int mark,
    boolean readOnly) 
Method from java.nio.ShortBufferImpl Summary:
asReadOnlyBuffer,   compact,   duplicate,   get,   get,   isDirect,   isReadOnly,   order,   put,   put,   slice
Methods from java.nio.ShortBuffer:
allocate,   array,   arrayOffset,   asReadOnlyBuffer,   compact,   compareTo,   duplicate,   equals,   get,   get,   get,   get,   hasArray,   hashCode,   isDirect,   order,   protectedArray,   protectedArrayOffset,   protectedHasArray,   put,   put,   put,   put,   put,   slice,   toString,   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.ShortBufferImpl Detail:
 public ShortBuffer asReadOnlyBuffer() 
 public ShortBuffer compact() 
 public ShortBuffer duplicate() 
 public short get() 
    Reads the short at this buffer's current position, and then increments the position.
 public short get(int index) 
    Absolute get method. Reads the short at position index.
 public boolean isDirect() 
 public boolean isReadOnly() 
 public ByteOrder order() 
 public ShortBuffer put(short value) 
    Relative put method. Writes value to the next position in the buffer.
 public ShortBuffer put(int index,
    short value) 
    Absolute put method. Writes value to position index in the buffer.
 public ShortBuffer slice()