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

All Implemented Interfaces:
    Comparable

Field Summary
 boolean readOnly     
public  Pointer implPtr    Posix uses this for the pointer returned by mmap; Win32 uses it for the pointer returned by MapViewOfFile. 
public  long implLen    Posix uses this for the actual length passed to mmap; Win32 uses it for the pointer returned by CreateFileMapping. 
Fields inherited from java.nio.MappedByteBuffer:
isAMappedBuffer
Fields inherited from java.nio.ByteBuffer:
endian,  array_offset,  backing_buffer
Fields inherited from java.nio.Buffer:
address
Constructor:
 public MappedByteBufferImpl(Pointer address,
    int size,
    boolean readOnly) throws IOException 
Method from java.nio.MappedByteBufferImpl Summary:
asCharBuffer,   asDoubleBuffer,   asFloatBuffer,   asIntBuffer,   asLongBuffer,   asReadOnlyBuffer,   asShortBuffer,   compact,   duplicate,   forceImpl,   get,   get,   get,   getChar,   getChar,   getDouble,   getDouble,   getFloat,   getFloat,   getInt,   getInt,   getLong,   getLong,   getShort,   getShort,   isDirect,   isLoadedImpl,   isReadOnly,   loadImpl,   put,   put,   putChar,   putChar,   putDouble,   putDouble,   putFloat,   putFloat,   putInt,   putInt,   putLong,   putLong,   putShort,   putShort,   slice,   unmapImpl
Methods from java.nio.MappedByteBuffer:
force,   isLoaded,   load
Methods from java.nio.ByteBuffer:
allocate,   allocateDirect,   array,   arrayOffset,   asCharBuffer,   asDoubleBuffer,   asFloatBuffer,   asIntBuffer,   asLongBuffer,   asReadOnlyBuffer,   asShortBuffer,   compact,   compareTo,   duplicate,   equals,   get,   get,   get,   get,   getChar,   getChar,   getDouble,   getDouble,   getFloat,   getFloat,   getInt,   getInt,   getLong,   getLong,   getShort,   getShort,   hasArray,   hashCode,   isDirect,   order,   order,   put,   put,   put,   put,   put,   putChar,   putChar,   putDouble,   putDouble,   putFloat,   putFloat,   putInt,   putInt,   putLong,   putLong,   putShort,   putShort,   shiftDown,   slice,   toString,   wrap,   wrap
Methods from java.nio.Buffer:
array,   arrayOffset,   capacity,   checkBounds,   checkIndex,   checkIndex,   clear,   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.MappedByteBufferImpl Detail:
 public CharBuffer asCharBuffer() 
 public DoubleBuffer asDoubleBuffer() 
 public FloatBuffer asFloatBuffer() 
 public IntBuffer asIntBuffer() 
 public LongBuffer asLongBuffer() 
 public ByteBuffer asReadOnlyBuffer() 
 public ShortBuffer asShortBuffer() 
 public ByteBuffer compact() 
 public ByteBuffer duplicate() 
 native  void forceImpl()
 public byte get() 
 public byte get(int index) 
 public ByteBuffer get(byte[] dst,
    int offset,
    int length) 
 public char getChar() 
 public char getChar(int index) 
 public double getDouble() 
 public double getDouble(int index) 
 public float getFloat() 
 public float getFloat(int index) 
 public int getInt() 
 public int getInt(int index) 
 public long getLong() 
 public long getLong(int index) 
 public short getShort() 
 public short getShort(int index) 
 public boolean isDirect() 
 native boolean isLoadedImpl()
 public boolean isReadOnly() 
 native  void loadImpl()
 public ByteBuffer put(byte value) 
 public ByteBuffer put(int index,
    byte value) 
 public ByteBuffer putChar(char value) 
 public ByteBuffer putChar(int index,
    char value) 
 public ByteBuffer putDouble(double value) 
 public ByteBuffer putDouble(int index,
    double value) 
 public ByteBuffer putFloat(float value) 
 public ByteBuffer putFloat(int index,
    float value) 
 public ByteBuffer putInt(int value) 
 public ByteBuffer putInt(int index,
    int value) 
 public ByteBuffer putLong(long value) 
 public ByteBuffer putLong(int index,
    long value) 
 public ByteBuffer putShort(short value) 
 public ByteBuffer putShort(int index,
    short value) 
 public ByteBuffer slice() 
 native  void unmapImpl()