| Modifier and Type | Field and Description |
|---|---|
| private final Namespace | |
| private final NamespacedHierarchicalStore |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private <T extends @Nullable Object> T | |
| public <K, V> Object | computeIfAbsent(K key, Function<? super K, ? extends V> defaultCreator)
Implements org. Return the value of the specified required type that is stored under
the supplied |
| public <K, V> V | computeIfAbsent(K key, Function<? super K, ? extends V> defaultCreator, Class<V> requiredType)
Implements org. Get the value of the specified required type that is stored under the
supplied |
| public @Nullable Object | get(Object key)
Implements org. Get the value that is stored under the supplied |
| public <T> @Nullable T | get(Object key, Class<T> requiredType)
Implements org. Get the value of the specified required type that is stored under
the supplied |
| public <K, V extends @Nullable Object> @Nullable Object | getOrComputeIfAbsent(K key, Function<? super K, ? extends V> defaultCreator)
Implements org. Get the value that is stored under the supplied |
| public <K, V extends @Nullable Object> @Nullable V | getOrComputeIfAbsent(K key, Function<? super K, ? extends V> defaultCreator, Class<V> requiredType)
Implements org. Get the value of the specified required type that is stored under the
supplied |
| public void | |
| public @Nullable Object | remove(Object key)
Implements org. Remove the value that was previously stored under the supplied |
| public <T> @Nullable T | remove(Object key, Class<T> requiredType)
Implements org. Remove the value of the specified required type that was previously stored
under the supplied |
| namespace | back to summary |
|---|---|
| private final Namespace namespace | |
| valuesStore | back to summary |
|---|---|
| private final NamespacedHierarchicalStore<Namespace> valuesStore | |
| NamespaceAwareStore | back to summary |
|---|---|
| public NamespaceAwareStore(NamespacedHierarchicalStore<Namespace> valuesStore, Namespace namespace) | |
| accessStore | back to summary |
|---|---|
| private <T extends @Nullable Object> T accessStore(Supplier<T> action) | |
| computeIfAbsent | back to summary |
|---|---|
| public <K, V> Object computeIfAbsent(K key, Function<? super K, ? extends V> defaultCreator) Implements org. Doc from org. Return the value of the specified required type that is stored under
the supplied If no value is stored in the current For greater type safety, consider using
If the created value is an instance of
| |
| computeIfAbsent | back to summary |
|---|---|
| public <K, V> V computeIfAbsent(K key, Function<? super K, ? extends V> defaultCreator, Class<V> requiredType) Implements org. Doc from org. Get the value of the specified required type that is stored under the
supplied If no value is stored in the current If the created value is an instance of
| |
| get | back to summary |
|---|---|
| public @Nullable Object get(Object key) Implements org. Doc from org. Get the value that is stored under the supplied If no value is stored in the current For greater type safety, consider using
| |
| get | back to summary |
|---|---|
| public <T> @Nullable T get(Object key, Class<T> requiredType) Implements org. Doc from org. Get the value of the specified required type that is stored under
the supplied If no value is stored in the current
| |
| getOrComputeIfAbsent | back to summary |
|---|---|
| public <K, V extends @Nullable Object> @Nullable Object getOrComputeIfAbsent(K key, Function<? super K, ? extends V> defaultCreator) Implements org. Doc from org. Get the value that is stored under the supplied If no value is stored in the current For greater type safety, consider using
If the created value is an instance of
| |
| getOrComputeIfAbsent | back to summary |
|---|---|
| public <K, V extends @Nullable Object> @Nullable V getOrComputeIfAbsent(K key, Function<? super K, ? extends V> defaultCreator, Class<V> requiredType) Implements org. Doc from org. Get the value of the specified required type that is stored under the
supplied If no value is stored in the current If the created value implements
| |
| put | back to summary |
|---|---|
public void put(Object key, @Nullable Object value)
| |
| remove | back to summary |
|---|---|
| public @Nullable Object remove(Object key) Implements org. Doc from org. Remove the value that was previously stored under the supplied The value will only be removed in the current For greater type safety, consider using
| |
| remove | back to summary |
|---|---|
| public <T> @Nullable T remove(Object key, Class<T> requiredType) Implements org. Doc from org. Remove the value of the specified required type that was previously stored
under the supplied The value will only be removed in the current
| |