public class DataSet extends Object implements DataHolder
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<DataKey,Object> |
dataSet |
| Constructor and Description |
|---|
DataSet() |
DataSet(DataHolder other) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(DataKey key) |
<T> T |
get(DataKey<T> key) |
Map<DataKey,Object> |
getAll() |
Collection<DataKey> |
keySet() |
static DataSet |
merge(DataHolder... dataHolders) |
DataHolder |
toImmutable() |
MutableDataHolder |
toMutable() |
public DataSet()
public DataSet(DataHolder other)
public Map<DataKey,Object> getAll()
getAll in interface DataHolderpublic Collection<DataKey> keySet()
keySet in interface DataHolderpublic boolean contains(DataKey key)
contains in interface DataHolderpublic <T> T get(DataKey<T> key)
get in interface DataHolderpublic static DataSet merge(DataHolder... dataHolders)
public MutableDataHolder toMutable()
toMutable in interface DataHolderpublic DataHolder toImmutable()
toImmutable in interface DataHolderCopyright © 2018. All rights reserved.