Class BoundedIntrusiveMappingCache.ObjectImpl<KEY_TYPE,VALUE_TYPE>
java.lang.Object
io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache<KEY_TYPE,io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache.ObjectMapping<KEY_TYPE,VALUE_TYPE>>
io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache.ObjectImpl<KEY_TYPE,VALUE_TYPE>
- Enclosing class:
- BoundedIntrusiveMappingCache<KEY_TYPE,
MAPPING_TYPE extends io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache.Mapping<KEY_TYPE, MAPPING_TYPE>>
public static class BoundedIntrusiveMappingCache.ObjectImpl<KEY_TYPE,VALUE_TYPE>
extends BoundedIntrusiveMappingCache<KEY_TYPE,io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache.ObjectMapping<KEY_TYPE,VALUE_TYPE>>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache
BoundedIntrusiveMappingCache.ByteImpl<KEY_TYPE>, BoundedIntrusiveMappingCache.CharacterImpl<KEY_TYPE>, BoundedIntrusiveMappingCache.DoubleImpl<KEY_TYPE>, BoundedIntrusiveMappingCache.FifoIntegerImpl<KEY_TYPE>, BoundedIntrusiveMappingCache.FloatImpl<KEY_TYPE>, BoundedIntrusiveMappingCache.IntegerImpl<KEY_TYPE>, BoundedIntrusiveMappingCache.LongImpl<KEY_TYPE>, BoundedIntrusiveMappingCache.ObjectImpl<KEY_TYPE,
VALUE_TYPE>, BoundedIntrusiveMappingCache.ShortImpl<KEY_TYPE>, BoundedIntrusiveMappingCache.ToByteFunction<T>, BoundedIntrusiveMappingCache.ToCharacterFunction<T>, BoundedIntrusiveMappingCache.ToFloatFunction<T>, BoundedIntrusiveMappingCache.ToShortFunction<T> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncomputeIfAbsent
(KEY_TYPE key, @NotNull Function<KEY_TYPE, VALUE_TYPE> mapper) Methods inherited from class io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache
getCacheDeclarationType, getCacheInitializer
-
Constructor Details
-
ObjectImpl
public ObjectImpl(int maximumCachedMappings)
-
-
Method Details
-
computeIfAbsent
public VALUE_TYPE computeIfAbsent(KEY_TYPE key, @NotNull @NotNull Function<KEY_TYPE, VALUE_TYPE> mapper)
-