|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.util.InputBufferImpl
Implements all of the functionality of InputBuffer
except
nextByte
and nextBytes
. A subclass can
inherit from this class to implement an InputBuffer interface while only
having to define nextByte
and nextBytes
.
Constructor Summary | |
---|---|
InputBufferImpl()
|
Method Summary | |
---|---|
Object |
clone()
Buffers must support clone such that the read pointer on a cloned buffer is independent of the original. |
BigInteger |
nextBigInteger()
Read the next BigInteger out of the buffer. |
static BigInteger |
nextBigInteger(InputBuffer buffer)
Read the next BigInteger out of the buffer. |
boolean |
nextBoolean()
Read the next boolean out of the buffer. |
static boolean |
nextBoolean(InputBuffer buffer)
Read the next boolean out of the buffer. |
double |
nextDouble()
Read the next double out of the buffer. |
static double |
nextDouble(InputBuffer buffer)
Read the next double out of the buffer. |
int |
nextInt()
Read the next integer out of the buffer. |
static int |
nextInt(InputBuffer buffer)
Read the next integer out of the buffer. |
long |
nextLong()
Read the next long out of the buffer. |
static long |
nextLong(InputBuffer buffer)
Read the next long out of the buffer. |
QuickSerializable |
nextObject()
Read the next object out of the buffer. |
static QuickSerializable |
nextObject(InputBuffer buffer)
Read the next object out of the buffer. |
short |
nextShort()
Read the next short out of the buffer. |
static short |
nextShort(InputBuffer buffer)
Read the next integer out of the buffer. |
String |
nextString()
Read the next String out of the buffer. |
static String |
nextString(InputBuffer buffer)
Read the next String out of the buffer. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ostore.util.InputBuffer |
---|
nextByte, nextBytes, nextBytes, subBuffer |
Constructor Detail |
public InputBufferImpl()
Method Detail |
public short nextShort()
nextShort
in interface InputBuffer
public int nextInt()
nextInt
in interface InputBuffer
public long nextLong()
nextLong
in interface InputBuffer
public double nextDouble()
nextDouble
in interface InputBuffer
public boolean nextBoolean()
nextBoolean
in interface InputBuffer
public String nextString()
nextString
in interface InputBuffer
public BigInteger nextBigInteger() throws QSException
nextBigInteger
in interface InputBuffer
QSException
public QuickSerializable nextObject() throws QSException
nextObject
in interface InputBuffer
QSException
public static final short nextShort(InputBuffer buffer)
public static final int nextInt(InputBuffer buffer)
public static final long nextLong(InputBuffer buffer)
public static final double nextDouble(InputBuffer buffer)
public static final boolean nextBoolean(InputBuffer buffer)
public static final String nextString(InputBuffer buffer)
public static final BigInteger nextBigInteger(InputBuffer buffer) throws QSException
QSException
public static final QuickSerializable nextObject(InputBuffer buffer) throws QSException
QSException
public Object clone() throws CloneNotSupportedException
InputBuffer
clone
in interface InputBuffer
clone
in class Object
CloneNotSupportedException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |