Package org.apache.juneau.commons.collections
package org.apache.juneau.commons.collections
Enhanced collection utilities that extend the standard Java Collections Framework with fluent APIs,
specialized collection types, and caching capabilities.
-
ClassDescriptionBidiMap<K,
V> A bidirectional map with reverse key lookup by value.BidiMap.Builder<K,V> Builder class forBidiMap.Cache<K,V> Simple in-memory cache for storing and retrieving objects by key.Cache.Builder<K,V> Builder for creating configuredCacheinstances.Cache2<K1,K2, V> Simple in-memory cache for storing and retrieving objects by two-part keys.Cache2.Builder<K1,K2, V> Builder for creating configuredCache2instances.Cache3<K1,K2, K3, V> Simple in-memory cache for storing and retrieving objects by three-part keys.Cache3.Builder<K1,K2, K3, V> Builder for creating configuredCache3instances.Cache4<K1,K2, K3, K4, V> Simple in-memory cache for storing and retrieving objects by four-part keys.Cache4.Builder<K1,K2, K3, K4, V> Builder for creating configuredCache4instances.Cache5<K1,K2, K3, K4, K5, V> Simple in-memory cache for storing and retrieving objects by five-part keys.Cache5.Builder<K1,K2, K3, K4, K5, V> Builder for creating configuredCache5instances.Cache modes forCacheand related cache classes.AnArrayListthat allows you to control whether it's read-only via a constructor parameter.FilteredList<E>A list wrapper that filters elements based on aPredicatewhen they are added.Builder for creatingFilteredListinstances.FilteredMap<K,V> A map wrapper that filters entries based on aBiPredicatewhen they are added.FilteredMap.Builder<K,V> Builder for creatingFilteredMapinstances.FilteredSet<E>A set wrapper that filters elements based on aPredicatewhen they are added.Builder for creatingFilteredSetinstances.FluentList<E>A fluent wrapper around an arbitrary list that provides convenient methods for adding elements.FluentMap<K,V> A fluent wrapper around an arbitrary map that provides convenient methods for adding entries.FluentSet<E>A fluent wrapper around an arbitrary set that provides convenient methods for adding elements.Represents a composite key composed of multiple values, suitable for use as a key in hash-based collections.A specialized set for storing and efficiently looking up language keywords.Lists<E>A fluent builder for constructingListinstances with various configuration options.Maps<K,V> A fluent builder for constructingMapinstances with various configuration options.MultiList<E>A composite list that presents multiple lists as a single unified list.MultiMap<K,V> A composite map that presents multiple maps as a single unified map.MultiSet<E>A composite set that presents multiple collections as a single unified set.ReversedList<E>A reversed view of a list that does not modify the underlying list.Sets<E>A fluent builder for constructingSetinstances with various configuration options.SimpleMap<K,V> An unmodifiable, fixed-size map implementation backed by parallel key and value arrays.A sorted list implementation backed by anArrayList.A sorted list implementation backed by aLinkedList.