public class ScopedDataSet extends DataSet
| Modifier and Type | Field and Description |
|---|---|
protected DataHolder |
parent |
| Constructor and Description |
|---|
ScopedDataSet(DataHolder parent) |
ScopedDataSet(DataHolder parent,
DataHolder other) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(DataKey<?> key) |
<T> T |
get(DataKey<T> key) |
Map<DataKey<?>,Object> |
getAll() |
Collection<DataKey<?>> |
getKeys() |
DataHolder |
getParent() |
merge, toImmutable, toMutableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkeySetprotected final DataHolder parent
public ScopedDataSet(DataHolder parent)
public ScopedDataSet(DataHolder parent, DataHolder other)
public DataHolder getParent()
public Map<DataKey<?>,Object> getAll()
getAll in interface DataHoldergetAll in class DataSetpublic Collection<DataKey<?>> getKeys()
getKeys in interface DataHoldergetKeys in class DataSetpublic boolean contains(DataKey<?> key)
contains in interface DataHoldercontains in class DataSetpublic <T> T get(DataKey<T> key)
get in interface DataHolderget in class DataSetCopyright © 2019. All rights reserved.