public class DataBlockCollection
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<DataBlock> |
blockList |
protected RecordDescriptor |
recordDescriptor |
Constructor and Description |
---|
DataBlockCollection(int size,
RecordDescriptor recordDescriptor) |
Modifier and Type | Method and Description |
---|---|
void |
add(DataBlock block) |
void |
clear() |
DataBlock |
get(int i) |
RecordDescriptor |
getRecordDescriptor() |
int |
getStorageType() |
int |
size() |
protected java.util.ArrayList<DataBlock> blockList
protected RecordDescriptor recordDescriptor
public DataBlockCollection(int size, RecordDescriptor recordDescriptor)
public void add(DataBlock block)
public DataBlock get(int i)
public int size()
public void clear()
public RecordDescriptor getRecordDescriptor()
public int getStorageType()