Package avail. utility. structures
Types
Link copied to clipboard
A BloomFilter is a conservative, probabilistic set. It can report that an element is probably in the set, or definitely not in the set. This can be a useful, fast prefilter to avoid computing or fetching authoritative data in a large majority of cases, effectively reducing the number of spurious occurrences of the slower activity by orders of magnitude.
Link copied to clipboard
class EnumMap<K : Enum<K>, V : Any>(enums: Array<K>, sourceValues: Array<V?>) : MutableMap<K, V>
Content copied to clipboard
An EnumMap is a Map implementation for use with enum type keys only. All of the keys in an EnumMap must come from a single enum that is specified, explicitly as the first parameterized type. EnumMaps are represented internally as arrays. Enum maps are maintained in the natural order of their keys (Enum.ordinals).