Package com.bc.ceres.binio
Interface CollectionData
- All Known Subinterfaces:
CompoundData,SequenceData
public interface CollectionData
A collection of elements.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()voidflush()bytegetByte(int index) getCompound(int index) doublegetDouble(int index) intfloatgetFloat(int index) intgetInt(int index) longgetLong(int index) longgetSequence(int index) shortgetShort(int index) longgetSize()getType()intgetUByte(int index) longgetUInt(int index) intgetUShort(int index) voidvoidsetByte(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 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
-