K
- map key classV
- map value classpublic interface DefaultValueProvider<K,V>
ChronicleMapBuilder.defaultValueProvider(DefaultValueProvider)
configuration.ChronicleMapBuilder.defaultValue(Object)
Modifier and Type | Method and Description |
---|---|
default Data<V> |
defaultValue(MapAbsentEntry<K,V> absentEntry)
Returns the "nil" value, which should be inserted into the map, in the given
absentEntry context. |
default Data<V> defaultValue(@NotNull MapAbsentEntry<K,V> absentEntry)
absentEntry
context. This is primarily used in ChronicleMap.acquireUsing(K, V)
operation implementation, i. e. MapMethods.acquireUsing(net.openhft.chronicle.map.MapQueryContext<K, V, R>, net.openhft.chronicle.map.ReturnValue<V>)
.Copyright © 2015. All rights reserved.