Package io.deephaven.base.string.cache
package io.deephaven.base.string.cache
-
ClassDescriptionAbstractCompressedString<TYPE extends AbstractCompressedString>Base class for immutable byte[]-backed String replacements.AlwaysCreateStringCache<STRING_LIKE_TYPE extends CharSequence>Dummy StringCache implementation for code that won't benefit from caching, just wants to use the StringCompatible mechanisms for efficient String creation.See documentation in the interface and parent class for details.See documentation in the interface and parent class for details.Common parent for CharSequenceAdapters that store chars as single bytes (for simple encodings).This class provides base functionality for several implementations of CharSequenceAdapter.StringBuilder-like CharSequenceAdapter implementation.Static helpers for hashCode, equality, and comparison of CharSequences.Immutable byte[]-backed String replacement.ConcurrentBoundedStringCache<STRING_LIKE_TYPE extends CharSequence>This cache follows the same design as ConcurrentUnboundedStringCache, but uses a KeyedObjectCache (bounded, concurrent-get, "pseudo-random pseudo-LRU" replacement) for its internal storage.ConcurrentUnboundedStringCache<STRING_LIKE_TYPE extends CharSequence>A very limited interface is specified, in order to decouple typeAdapter pooling and related concerns from the cache itself.This is a ridiculously simple, light-as-I-can-make-it, but decidedly single-purpose data structure.OpenAddressedWeakUnboundedStringCache<STRING_LIKE_TYPE extends CharSequence>Unbounded StringCache built around a OpenAddressedCanonicalizationCache, which only enforces weak reachability on its STRING_LIKE_TYPE members.StringAlike<TYPE>This creates an interface (with more permissive argument types, and generified return types) for most public instance methods of class String.StringCache<STRING_LIKE_TYPE extends CharSequence>Generic caching interface for Strings and String-like CharSequences.StringCacheTypeAdapter<STRING_LIKE_TYPE extends CharSequence>Abstracts type-specific functionality for use by StringCache implementations.Type adapter for CompressedStrings.Type adapter for MappedCompressedStrings.Type adapter for Strings.Marker interface for CharSequences to be used in StringCache implementations.