Package com.globalmentor.collections
package com.globalmentor.collections
-
ClassDescriptionA collection that provides access to another collection, automatically converting elements to objects possibly of a different type.A list that provides access to another list, automatically converting elements to objects possibly of a different type.AbstractDecoratorCollectionMap<K,
V, C extends Collection<V>> An abstract collection map that decorates an existing map.AbstractPurgeOnWriteReferenceValueMap<K,V, R extends Reference<V> & AbstractPurgeOnWriteReferenceValueMap.Keyed<K>> A map that uses references to store map values.An object that remembers the key associated with it.A runnable consumer that takes elements from a blocking queue and consume them.AbstractSuffixTree<E extends SuffixTree.Edge>An abstract base implementation of a suffix tree for a sequence of elements (most commonly characters).ArrayListHashMap<K,V> ArrayListMap<K,V> An decorator map that stores anArrayList
of values for each key, with special methods for retrieving single values.ArraySubList<E>Represents a list that is a subset of some larger list, based upon an array.A suffix tree for a sequence of characters.An abstract base class that implements hashing and equality for an edge key.A key identifying an edge of a node, uniquely identified by its parent node and first character (as no node in a suffix tree contains more than one edge starting with the same character).Utilities for working with suffix trees of sequences of characters.An abstract implementation of a visitor for character sequences.Utility methods for building collections using a fluent interface.A collection that wraps an existing collection, providing access through theCollection
interface.CollectionMap<K,V, C extends Collection<V>> A map that stores a collection of values for each key, using a pair of read and write locks to access its data, with special methods for retrieving single values.Various utilities to be used with collections.An implementation of aConcurrentHashMap
that stores aCopyOnWriteArrayList
of values for each key, with special methods for retrieving single values.DecoratorIDedMappedList<K,E extends IDed<K>> A list that allows quick lookup ofIDed
objects.A thread-safe collection decorator that allows many readers but only one writer to access a collection at a time.DecoratorReadWriteLockCollectionMap<K,V, C extends Collection<V>> A thread-safe collection map decorator that allows many readers but only one writer to access a map at a time.A thread-safe map decorator that allows many readers but only one writer to access a map at a time.A thread-safe map decorator that allows many readers but only one writer to access a map at a time, and that also allows lookup of the map keys keyed to the values by decorating two maps.A thread-safe collection decorator that allows many readers but only one writer to access a set at a time.DecoratorReverseMap<K,V> A map that also allows lookup of the map keys keyed to the values by decorating two maps.HashSetHashMap<K,V> A set that is backed by an identity hash map.IdentityHashSetMap<K,V> An decorator map that stores anIdentityHashSet
of values for each key, with special methods for retrieving single values.A marker interface indicating that the collection is immutable.ImmutableMap<K,V> A marker interface indicating that the map is immutable.A list that wraps an existing list, providing access through theList
interface.Utilities to be used with lists.MapDecorator<K,V> A map that wraps an existing map, providing access through theMap
interface.MappedList<K,E> A list that allows quick lookup of its elements.Various utilities to be used with objects implementing theMap
interface.Deprecated.Deprecated.A read-only map entry that is also a name/value pair.ObjectList<E>Deprecated.A map that uses soft references to store map values.A soft reference that keeps track of the key with which a value was associated.A map that uses weak references to store map values.A weak reference that keeps track of the key with which a value was associated.A thread-safe collection that uses a pair of read and write locks to access its data.ReadWriteLockCollectionMap<K,V, C extends Collection<V>> A thread-safe map that stores a collection of values for each key, with special methods for retrieving single values.A read/write lock that decorates another read/write lock.ReadWriteLockMap<K,V> A thread-safe map that uses a pair of read and write locks to access its data.A thread-safe reverse map that uses a pair of read and write locks to access its data.A thread-safe set that uses a pair of read and write locks to access its data.ReverseMap<K,V> A map that also allows lookup of the map keys keyed to the values.Utilities to be used with sets.SubList<E>Represents a list that is a subset of some larger list.A general interface for a suffix tree for a sequence of elements (most commonly characters).Represents an edge between a parent node and a child node in a suffix tree.Represents a node in a suffix tree.Utilities for working with suffix trees.A general visitor strategy for visiting nodes.A collection that wraps an existing collection, providing access through theCollection
interface.SynchronizedCollectionMapDecorator<K,V, C extends Collection<V>> A collection map that wraps an existing collection map, providing access through theCollectionMap
interface.A list that wraps an existing list, providing access through theList
interface.A map that wraps an existing map, providing access through theMap
interface.A set that wraps an existing set, providing access through theSet
interface.TreeSetMap<K,V> An decorator map that stores aTreeSet
of values for each key, with special methods for retrieving single values.Various vector manipulating functions.WeakHashSet<E>A class that implements theSet
interface, backed by aWeakHashMap
.
Collections.singletonList(Object)
.