Class BoundedIntrusiveMappingCache.CharacterImpl<KEY_TYPE>
java.lang.Object
com.illumon.util.datastructures.cache.BoundedIntrusiveMappingCache<KEY_TYPE,com.illumon.util.datastructures.cache.BoundedIntrusiveMappingCache.CharacterMapping<KEY_TYPE>>
com.illumon.util.datastructures.cache.BoundedIntrusiveMappingCache.CharacterImpl<KEY_TYPE>
- Enclosing class:
- BoundedIntrusiveMappingCache<KEY_TYPE,MAPPING_TYPE extends com.illumon.util.datastructures.cache.BoundedIntrusiveMappingCache.Mapping<KEY_TYPE,MAPPING_TYPE>>
public static class BoundedIntrusiveMappingCache.CharacterImpl<KEY_TYPE> extends BoundedIntrusiveMappingCache<KEY_TYPE,com.illumon.util.datastructures.cache.BoundedIntrusiveMappingCache.CharacterMapping<KEY_TYPE>>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.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
Constructors Constructor Description CharacterImpl(int maximumCachedMappings)
-
Method Summary
Modifier and Type Method Description char
computeIfAbsent(KEY_TYPE key, BoundedIntrusiveMappingCache.ToCharacterFunction<KEY_TYPE> mapper)
Methods inherited from class com.illumon.util.datastructures.cache.BoundedIntrusiveMappingCache
getCacheDeclarationType, getCacheInitializer
-
Constructor Details
-
CharacterImpl
public CharacterImpl(int maximumCachedMappings)
-
-
Method Details
-
computeIfAbsent
public char computeIfAbsent(KEY_TYPE key, @NotNull BoundedIntrusiveMappingCache.ToCharacterFunction<KEY_TYPE> mapper)
-