public class BigByteBuffer2 extends Object
Constructor and Description |
---|
BigByteBuffer2(FileChannel fc,
FileChannel.MapMode mode) |
BigByteBuffer2(FileChannel fc,
FileChannel.MapMode mode,
long amountMem) |
public BigByteBuffer2(FileChannel fc, FileChannel.MapMode mode, long amountMem) throws IOException
IOException
public BigByteBuffer2(FileChannel fc, FileChannel.MapMode mode) throws IOException
IOException
public byte get()
public ByteBuffer get(byte[] dst)
public char getChar()
public double getDouble()
public float getFloat()
public int getInt()
public long getLong()
public short getShort()
public boolean isDirect()
public byte get(int index)
public char getChar(int index)
public double getDouble(int index)
public float getFloat(int index)
public int getInt(int index)
public long getLong(int index)
public short getShort(int index)
public ByteBuffer asReadOnlyBuffer()
public ByteBuffer compact()
public ByteBuffer duplicate()
public ByteBuffer slice()
public ByteBuffer put(byte b)
public ByteBuffer putChar(char value)
public ByteBuffer putDouble(double value)
public ByteBuffer putFloat(float value)
public ByteBuffer putInt(int value)
public ByteBuffer put(int index, byte b)
public ByteBuffer putChar(int index, char value)
public ByteBuffer putDouble(int index, double value)
public ByteBuffer putFloat(int index, float value)
public ByteBuffer putInt(int index, int value)
public ByteBuffer putLong(int index, long value)
public ByteBuffer putShort(int index, short value)
public ByteBuffer putLong(long value)
public ByteBuffer putShort(short value)
public CharBuffer asCharBuffer()
public DoubleBuffer asDoubleBuffer()
public FloatBuffer asFloatBuffer()
public IntBuffer asIntBuffer()
public LongBuffer asLongBuffer()
public ShortBuffer asShortBuffer()
public boolean isReadOnly()
public final ByteOrder order()
public final ByteBuffer order(ByteOrder bo)
public final long position()
public final Buffer position(long newPosition)