| Package | Description |
|---|---|
| org.junit.platform.engine.support.store |
Reusable data structures for test engines and their extensions.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
NamespacedHierarchicalStore.get(N namespace,
java.lang.Object key,
java.lang.Class<T> requiredType)
Get the value stored for the supplied namespace and key in this store or
the parent store, if present, and cast it to the supplied required type.
|
<K,V> V |
NamespacedHierarchicalStore.getOrComputeIfAbsent(N namespace,
K key,
java.util.function.Function<K,V> defaultCreator,
java.lang.Class<V> requiredType)
Get the value stored for the supplied namespace and key in this store or
the parent store, if present, or call the supplied function to compute it
and, finally, cast it to the supplied required type.
|
java.lang.Object |
NamespacedHierarchicalStore.put(N namespace,
java.lang.Object key,
java.lang.Object value)
Put the supplied value for the supplied namespace and key into this
store and return the previously associated value in this store.
|
<T> T |
NamespacedHierarchicalStore.remove(N namespace,
java.lang.Object key,
java.lang.Class<T> requiredType)
Remove the value stored for the supplied namespace and key from this
store and cast it to the supplied required type.
|