Package com.bc.ceres.binio
Interface CollectionData
-
- All Known Subinterfaces:
CompoundData,SequenceData
public interface CollectionDataA collection of elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose()voidflush()bytegetByte(int index)CompoundDatagetCompound(int index)DataContextgetContext()doublegetDouble(int index)intgetElementCount()floatgetFloat(int index)intgetInt(int index)longgetLong(int index)CollectionDatagetParent()longgetPosition()SequenceDatagetSequence(int index)shortgetShort(int index)longgetSize()CollectionTypegetType()intgetUByte(int index)longgetUInt(int index)intgetUShort(int index)voidresolveSize()voidsetByte(int index, byte value)voidsetDouble(int index, double value)voidsetFloat(int index, float value)voidsetInt(int index, int value)voidsetLong(int index, long value)voidsetShort(int index, short value)voidsetUByte(int index, int value)voidsetUInt(int index, long value)voidsetUShort(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
-
-