Package org.apache.openjpa.lib.util.collections
package org.apache.openjpa.lib.util.collections
commons-collections4 import.
todo: this can be simplified/reduced to openjpa usage (drop abstractions + not used methods).
-
ClassDescriptionDecorates another
Collection
to provide additional behaviour.AbstractDualBidiMap<K,V> AbstractBidiMap
implemented using two maps.Inner class MapIterator.Inner class EntrySet.Inner class EntrySetIterator.Inner class KeySet.Inner class KeySetIterator.Inner class MapEntry.Inner class Values.Inner class ValuesIterator.AbstractDualBidiMap.View<K,V, E> Inner class View.Provides an implementation of an empty map iterator.AbstractHashedMap<K,V> An abstract implementation of a hash-based map which provides numerous points for subclasses to override.EntrySet implementation.EntrySet iterator.HashEntry used to store the data.Base IteratorMapIterator implementation.KeySet implementation.KeySet iterator.Values implementation.Values iterator.AbstractIterableMap<K,V> Provide a basicIterableMap
implementation.Provides basic behaviour for decorating an iterator with extra functionality.AbstractKeyValue<K,V> Abstract pair class to assist with creatingKeyValue
andMap.Entry
implementations.AbstractLinkedMap<K,V> An abstract implementation of a hash-based map that links entries to create an ordered map and which provides numerous points for subclasses to override.EntrySet iterator.KeySet iterator.LinkEntry that stores the data.Base Iterator that iterates in link order.MapIterator implementation.Values iterator.Decorates anotherList
to provide additional behaviour.AbstractMapDecorator<K,V> Provides a base decorator that enables additional functionality to be added to a Map via decoration.AbstractMapEntry<K,V> Abstract Pair class to assist with creating correctMap.Entry
implementations.Provides a base decorator that allows additional functionality to be added to aMap.Entry
.Provides a base decorator that enables additional functionality to be added to an OrderedMap via decoration.AbstractReferenceMap<K,V> An abstract implementation of a hash-based map that allows the entries to be removed by the garbage collector.A MapEntry implementation for the map.Reference type enum.Serializable subclass of AbstractListDecorator.Serializable subclass of AbstractSetDecorator.Decorates anotherSet
to provide additional behaviour.Provides a base decorator that enables additional functionality to be added to a Map via decoration.OrderedMapIterator implementation.Provides basic behaviour for decorating an iterator with extra functionality without committing the generic type of the Iterator implementation.BidiMap<K,V> Defines a map that allows bidirectional lookup between key and values.BoundedMap<K,V> Defines a map that is bounded in size.ComparableComparator<E extends Comparable<? super E>>AComparator
that comparesComparable
objects.A ComparatorChain is a Comparator that wraps one or more Comparators in sequence.DefaultMapEntry<K,V> DualHashBidiMap<K,V> DualTreeBidiMap<K,V> Inner class MapIterator.Internal sorted map view.Provides an implementation of an empty iterator.EmptyMapIterator<K,V> Provides an implementation of an empty map iterator.Provides an implementation of an empty ordered iterator.Provides an implementation of an empty ordered map iterator.Adapts a Map entrySet to the MapIterator interface.Decorates anotherIterator
using a predicate to filter elements.IterableMap<K,V> Defines a map that can be iterated directly without needing to create an entry set.IterableSortedMap<K,V> An IteratorChain is an Iterator that wraps a number of Iterators.KeyValue<K,V> Defines a simple key value pair.LinkedMap<K,V> AMap
implementation that maintains the order of the entries.Converts anIterator
into aResettableListIterator
.LRUMap<K,V> AMap
implementation with a fixed maximum size which removes the least recently used entry if an entry is added when full.MapBackedSet<E,V> MapIterator<K,V> Defines an iterator that operates over aMap
.OrderedBidiMap<K,V> Defines a map that allows bidirectional lookup between key and values and retains and provides access to an ordering.Defines an iterator that operates over an ordered container.OrderedMap<K,V> Defines a map that maintains order and allows both forward and backward iteration through that order.OrderedMapIterator<K,V> Defines an iterator that operates over an orderedMap
.ReferenceIdentityMap<K,V> AMap
implementation that allows mappings to be removed by the garbage collector and matches keys and values based on==
notequals()
.ReferenceMap<K,V> AMap
implementation that allows mappings to be removed by the garbage collector.Defines an iterator that can be reset back to an initial state.Defines a list iterator that can be reset back to an initial state.SortedBidiMap<K,V> Defines a map that allows bidirectional lookup between key and values and retains both keys and values in sorted order.Red-Black tree-based implementation of BidiMap where all objects added implement theComparable
interface.Marker interface for collections, maps and iterators that are unmodifiable.Decorates anotherCollection
to ensure it can't be altered.UnmodifiableEntrySet<K,V> Decorates a map entrySet
to ensure it can't be altered.Decorates an iterator such that it cannot be modified.Decorates anotherList
to ensure it can't be altered.Decorates a list iterator such that it cannot be modified.UnmodifiableMapEntry<K,V> AMap.Entry
that throws UnsupportedOperationException whensetValue
is called.Decorates anotherOrderedMap
to ensure it can't be altered.Decorates an ordered map iterator such that it cannot be modified.Decorates anotherSet
to ensure it can't be altered.