Java Collections Framework extensions.
See also the java.util package.
Category | Classes | Comments |
---|---|---|
List Implementations |
{@link org.apache.commons.collections.CursorableLinkedList} {@link org.apache.commons.collections.FastArrayList} |
Special-purpose implementations of the {@link java.util.List} interface. |
Map Implementations |
{@link org.apache.commons.collections.BeanMap} {@link org.apache.commons.collections.DoubleOrderedMap} {@link org.apache.commons.collections.ExtendedProperties} {@link org.apache.commons.collections.FastHashMap} {@link org.apache.commons.collections.FastTreeMap} {@link org.apache.commons.collections.LRUMap} {@link org.apache.commons.collections.MultiHashMap} {@link org.apache.commons.collections.ProxyMap} {@link org.apache.commons.collections.ReferenceMap} {@link org.apache.commons.collections.SequencedHashMap} {@link org.apache.commons.collections.SoftRefHashMap} {@link org.apache.commons.collections.StaticBucketMap} |
Special-purpose implementations of the {@link java.util.Map} interface and associated classes. |
Buffer Interface and Implementations |
{@link org.apache.commons.collections.ArrayStack} {@link org.apache.commons.collections.BinaryHeap} {@link org.apache.commons.collections.BoundedFifoBuffer} {@link org.apache.commons.collections.Buffer} {@link org.apache.commons.collections.PriorityQueue} {@link org.apache.commons.collections.SynchronizedPriorityQueue} {@link org.apache.commons.collections.UnboundedFifoBuffer} |
New collection interface that specifies a removal order for the collection, used to implement queues and queue-like things. | Bag Interface and Implementations |
{@link org.apache.commons.collections.Bag} {@link org.apache.commons.collections.DefaultMapBag} {@link org.apache.commons.collections.HashBag} {@link org.apache.commons.collections.SortedBag} {@link org.apache.commons.collections.TreeBag} |
New collections interface that keeps a count of its members. |
Utilities |
{@link org.apache.commons.collections.BagUtils} {@link org.apache.commons.collections.BufferUtils} {@link org.apache.commons.collections.CollectionUtils} {@link org.apache.commons.collections.ComparatorUtils} {@link org.apache.commons.collections.ListUtils} {@link org.apache.commons.collections.MapUtils} {@link org.apache.commons.collections.SetUtils} |
Manipulate collection objects, determine set theoretic properties, ensure type-safety, provide decorators, etc. |
Functor Interfaces |
{@link org.apache.commons.collections.Factory} {@link org.apache.commons.collections.Predicate} {@link org.apache.commons.collections.Closure} {@link org.apache.commons.collections.Transformer} |
Create views or functors on a collection. If your collection represents X, these allow you to define and look at f(X). |
Miscellaneous |
{@link org.apache.commons.collections.StringStack} {@link org.apache.commons.collections.DefaultMapEntry} |
A stack of strings; and the trivial implementation of {@link java.util.Map.Entry}. |