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