Class BoundedIntrusiveMappingCache.IntegerImpl<KEY_TYPE>
java.lang.Object
io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache<KEY_TYPE,io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache.IntegerMapping<KEY_TYPE>>
io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache.IntegerImpl<KEY_TYPE>
- Type Parameters:
KEY_TYPE
-
- Enclosing class:
- BoundedIntrusiveMappingCache<KEY_TYPE,
MAPPING_TYPE extends io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache.Mapping<KEY_TYPE, MAPPING_TYPE>>
public static class BoundedIntrusiveMappingCache.IntegerImpl<KEY_TYPE>
extends BoundedIntrusiveMappingCache<KEY_TYPE,io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache.IntegerMapping<KEY_TYPE>>
Mapping cache for
Object->int
mappings, with LRU eviction.-
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 TypeMethodDescriptionint
computeIfAbsent
(KEY_TYPE key, @NotNull ToIntFunction<KEY_TYPE> mapper) Methods inherited from class io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache
getCacheDeclarationType, getCacheInitializer
-
Constructor Details
-
IntegerImpl
public IntegerImpl(int maximumCachedMappings)
-
-
Method Details
-
computeIfAbsent
-