Module swim.util
Package swim.util
Extended collection, iterator, and builder interfaces, lightweight cache
sets and maps, and other foundational utilities.
-
Interface Summary Interface Description Builder<I,O> Type that accumulates input values of typeI
, and binds an output result of typeO
.CombinerFunction<V,U> Cursor<T> EntryBuilder<K,V,O> Type that accumulates map entries, and binds an output result of typeO
.IterableMap<K,V> KeyedList<E> Log Takes actions when presented messages of various severities.OrderedMap<K,V> OrderedMapCursor<K,V> PairBuilder<K,V,O> Type that accumulates pairs of input values, and binds an output result of typeO
.ReducedMap<K,V,U> AnOrderedMap
that memoizes partial combinations of sub-elements to support efficient, incremental reduction of continuously mutating datasets. -
Class Summary Class Description HashGenCacheMap<K,V> A hashed generational cache map discards the least recently used value with the worst hit rate per hash bucket.HashGenCacheSet<T> A hashed generational cache set discards the least recently used value with the worst hit rate per hash bucket.HashGenMap<K,V> A hashed generational map evicts the least recently used value with the worst hit rate per hash bucket.HashGenSet<V> A hashed generational set evicts the least recently used value with the worst hit rate per hash bucket.Murmur3 32-bit MurmurHash algorithm, version 3.Severity Level of importance.