Package com.bc.ceres.binio
Interface CollectionData
-
- All Known Subinterfaces:
CompoundData
,SequenceData
public interface CollectionData
A collection of elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
void
flush()
byte
getByte(int index)
CompoundData
getCompound(int index)
DataContext
getContext()
double
getDouble(int index)
int
getElementCount()
float
getFloat(int index)
int
getInt(int index)
long
getLong(int index)
CollectionData
getParent()
long
getPosition()
SequenceData
getSequence(int index)
short
getShort(int index)
long
getSize()
CollectionType
getType()
int
getUByte(int index)
long
getUInt(int index)
int
getUShort(int index)
void
resolveSize()
void
setByte(int index, byte value)
void
setDouble(int index, double value)
void
setFloat(int index, float value)
void
setInt(int index, int value)
void
setLong(int index, long value)
void
setShort(int index, short value)
void
setUByte(int index, int value)
void
setUInt(int index, long value)
void
setUShort(int index, int value)
-
-
-
Method Detail
-
getType
CollectionType getType()
-
resolveSize
void resolveSize() throws IOException
- Throws:
IOException
-
getContext
DataContext getContext()
-
getParent
CollectionData getParent()
-
getPosition
long getPosition()
-
getSize
long getSize()
-
getElementCount
int getElementCount()
-
getByte
byte getByte(int index) throws IOException
- Throws:
IOException
-
setByte
void setByte(int index, byte value) throws IOException
- Throws:
IOException
-
getUByte
int getUByte(int index) throws IOException
- Throws:
IOException
-
setUByte
void setUByte(int index, int value) throws IOException
- Throws:
IOException
-
getShort
short getShort(int index) throws IOException
- Throws:
IOException
-
setShort
void setShort(int index, short value) throws IOException
- Throws:
IOException
-
getUShort
int getUShort(int index) throws IOException
- Throws:
IOException
-
setUShort
void setUShort(int index, int value) throws IOException
- Throws:
IOException
-
getInt
int getInt(int index) throws IOException
- Throws:
IOException
-
setInt
void setInt(int index, int value) throws IOException
- Throws:
IOException
-
getUInt
long getUInt(int index) throws IOException
- Throws:
IOException
-
setUInt
void setUInt(int index, long value) throws IOException
- Throws:
IOException
-
getLong
long getLong(int index) throws IOException
- Throws:
IOException
-
setLong
void setLong(int index, long value) throws IOException
- Throws:
IOException
-
getFloat
float getFloat(int index) throws IOException
- Throws:
IOException
-
setFloat
void setFloat(int index, float value) throws IOException
- Throws:
IOException
-
getDouble
double getDouble(int index) throws IOException
- Throws:
IOException
-
setDouble
void setDouble(int index, double value) throws IOException
- Throws:
IOException
-
getSequence
SequenceData getSequence(int index) throws IOException
- Throws:
IOException
-
getCompound
CompoundData getCompound(int index) throws IOException
- Throws:
IOException
-
flush
void flush() throws IOException
- Throws:
IOException
-
dispose
void dispose() throws IOException
- Throws:
IOException
-
-