edu.unh.sdb.datasource
Class DataBlockCollection
java.lang.Object
edu.unh.sdb.datasource.DataBlockCollection
public class DataBlockCollection
- extends java.lang.Object
Represents a list of DataBlocks. Currently, all blocks must have
the same RecordDescriptor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
blockList
protected java.util.ArrayList<DataBlock> blockList
recordDescriptor
protected RecordDescriptor recordDescriptor
DataBlockCollection
public DataBlockCollection(int size,
RecordDescriptor recordDescriptor)
add
public void add(DataBlock block)
get
public DataBlock get(int i)
size
public int size()
clear
public void clear()
getRecordDescriptor
public RecordDescriptor getRecordDescriptor()
getStorageType
public int getStorageType()