public class LargeBuffer extends Object
Constructor and Description |
---|
LargeBuffer(FileChannel channel,
FileChannel.MapMode mode,
long pos,
long size) |
Modifier and Type | Method and Description |
---|---|
void |
force() |
byte |
get() |
byte |
get(long pos) |
char |
getChar() |
char |
getChar(long pos) |
double |
getDouble() |
double |
getDouble(long pos) |
float |
getFloat() |
float |
getFloat(long pos) |
int |
getInt() |
int |
getInt(long pos) |
long |
getLong() |
long |
getLong(long pos) |
short |
getShort() |
short |
getShort(long pos) |
long |
position() |
void |
position(long pos) |
void |
put(byte val) |
void |
put(long pos,
byte b) |
void |
putChar(char val) |
void |
putChar(long pos,
char c) |
void |
putDouble(double val) |
void |
putDouble(long pos,
double d) |
void |
putFloat(float val) |
void |
putFloat(long pos,
float f) |
void |
putInt(int val) |
void |
putInt(long pos,
int i) |
void |
putLong(long val) |
void |
putLong(long pos,
long l) |
void |
putShort(long pos,
short s) |
void |
putShort(short val) |
public LargeBuffer(FileChannel channel, FileChannel.MapMode mode, long pos, long size) throws IOException
IOException
public byte get(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public byte get() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void put(long pos, byte b) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void put(byte val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public char getChar(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public char getChar() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void putChar(long pos, char c) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void putChar(char val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public double getDouble(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public double getDouble() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void putDouble(long pos, double d) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void putDouble(double val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public float getFloat(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public float getFloat() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void putFloat(long pos, float f) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void putFloat(float val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public int getInt(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public int getInt() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void putInt(long pos, int i) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void putInt(int val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public long getLong(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public long getLong() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void putLong(long pos, long l) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void putLong(long val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public short getShort(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public short getShort() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void putShort(long pos, short s) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public void putShort(short val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsException
IOException
public long position()
public void position(long pos)
public void force()
Copyright © 2014 BioJava. All rights reserved.