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
IOExceptionpublic byte get(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic byte get() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void put(long pos, byte b) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void put(byte val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic char getChar(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic char getChar() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void putChar(long pos, char c) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void putChar(char val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic double getDouble(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic double getDouble() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void putDouble(long pos, double d) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void putDouble(double val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic float getFloat(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic float getFloat() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void putFloat(long pos, float f) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void putFloat(float val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic int getInt(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic int getInt() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void putInt(long pos, int i) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void putInt(int val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic long getLong(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic long getLong() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void putLong(long pos, long l) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void putLong(long val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic short getShort(long pos) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic short getShort() throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void putShort(long pos, short s) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic void putShort(short val) throws IndexOutOfBoundsException, IOException
IndexOutOfBoundsExceptionIOExceptionpublic long position()
public void position(long pos)
public void force()
Copyright © 2014 BioJava. All rights reserved.