public interface XAddGetMap<K,V> extends XAddingMap<K,V>, XGettingMap<K,V>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XAddGetMap.Creator<K,V> |
XGettingMap.Bridge<K,V>, XGettingMap.EntriesBridge<K,V>, XGettingMap.Keys<K,V>, XGettingMap.Satellite<K,V>, XGettingMap.Values<K,V>XIterable.Executor<E>Copyable.Static| Modifier and Type | Method and Description |
|---|---|
KeyValue<K,V> |
addGet(K key,
V value) |
V |
ensure(K key,
Function<? super K,V> valueProvider)
Ensures that this map instance contains a non-null value for the passed key and returns that value.
|
KeyValue<K,V> |
substitute(K key,
V value) |
add, nullKeyAllowed, nullValuesAllowed, set, valueSetcurrentCapacity, currentFreeCapacity, ensureCapacity, ensureFreeCapacitycopy, get, immure, keys, lookup, nullKeyAllowed, nullValuesAllowed, old, oldMap, query, searchValue, values, viewiterateapplies, contains, containsAll, containsId, containsSearched, copyTo, count, countBy, distinct, distinct, equality, equals, equals, equalsContent, except, filterTo, get, hashCode, hasVolatileElements, intersect, intSize, iterator, join, max, min, nullContained, search, seek, size, toArray, toArray, unionnullAllowedforEach, spliteratorisFull, maximumCapacity, remainingCapacityV ensure(K key, Function<? super K,V> valueProvider)
If a non-null value can be found for the passed key, it is returned. Otherwise, the value provided by the passed supplier will be associated with the passed key and is returned.
key - the search key.valueProvider - the value supplier used to provide a value for the passed key in case non could be found.Copyright © 2022 MicroStream Software. All rights reserved.