| Modifier and Type | Field and Description |
|---|---|
| public static final DataHolder |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public default < Type returned by key T> T | |
| public @NotNull Map | |
| public @NotNull Collection | |
| public Object | Returns: object value for the keydata key key, @NotNull DataValueFactory<?> factory taking this data holder and computing/providing default value factory)Get key if it exists or compute using supplier Method used by DataKey classes to access data. |
| public default @NotNull MutableDataHolder | |
| public default @NotNull DataSet | |
| public @NotNull DataHolder | |
| public @NotNull MutableDataHolder |
| NULL | back to summary |
|---|---|
| public static final DataHolder NULL | |
| contains | back to summary |
|---|---|
| public boolean contains(@NotNull DataKeyBase<?> key) | |
| get | back to summary |
|---|---|
| public default <T> T get(@NotNull DataKey<T> key)
Deprecated
| |
| getAll | back to summary |
|---|---|
public @NotNull Map
| |
| getKeys | back to summary |
|---|---|
public @NotNull Collection
| |
| getOrCompute | back to summary |
|---|---|
| public Object getOrCompute(@NotNull DataKeyBase<?> key, @NotNull DataValueFactory<?> factory) Get key if it exists or compute using supplier Method used by DataKey classes to access data. Note MutableDataHolders will compute an absent key and add it to its dataSet. DataHolders will return computed value but not change contained dataSet because they are immutable. So value will be computed every time it is requested.
| |
| setIn | back to summary |
|---|---|
| public default @NotNull MutableDataHolder setIn(@NotNull MutableDataHolder dataHolder) | |
| toDataSet | back to summary |
|---|---|
public default @NotNull DataSet toDataSet()
| |
| toImmutable | back to summary |
|---|---|
public @NotNull DataHolder toImmutable()
| |
| toMutable | back to summary |
|---|---|
public @NotNull MutableDataHolder toMutable()
| |