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