public class DataListSet extends Object implements Serializable
Constructor and Description |
---|
DataListSet(int numDataItems) |
Modifier and Type | Method and Description |
---|---|
void |
addReadOnly(Attribute a,
StorageModel sm,
Object data) |
WritableDataList |
addWritable(Attribute a,
StorageModel sm) |
WritableDataList |
addWritable(Attribute a,
StorageModel sm,
Object data) |
boolean |
containsAttribute(Attribute attr) |
DataItem |
get(Attribute attr,
int index) |
DataList |
getList(Attribute attr) |
int |
getListLength() |
int |
getNumAttributes() |
WritableDataList |
getWritableList(Attribute attr) |
DataListSet |
readOnly() |
void |
remove(Attribute a) |
void |
reset(int numDataItems)
Clears the map and set the list length.
|
Object |
set(Attribute attr,
int index,
Object value) |
Set<Attribute> |
storedAttributes() |
String |
toString() |
public void reset(int numDataItems)
public void remove(Attribute a)
public WritableDataList addWritable(Attribute a, StorageModel sm)
public WritableDataList addWritable(Attribute a, StorageModel sm, Object data)
public void addReadOnly(Attribute a, StorageModel sm, Object data)
public boolean containsAttribute(Attribute attr)
public WritableDataList getWritableList(Attribute attr)
public int getListLength()
public int getNumAttributes()
public DataListSet readOnly()