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.DefaultMapEntry} {@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.SoftRefHashMap} {@link org.apache.commons.collections.DoubleOrderedMap} |
Special-purpose implementations of the {@link java.util.Map} interface. |
Stack and Queue Implementations |
{@link org.apache.commons.collections.ArrayStack} {@link org.apache.commons.collections.BinaryHeap} {@link org.apache.commons.collections.PriorityQueue} {@link org.apache.commons.collections.SynchronizedPriorityQueue} |
Special-purpose implementations of the {@link java.util.Stack} interface, as well as similar {@link org.apache.commons.collections.PriorityQueue} interface. | Bag Interface and Implementations |
{@link org.apache.commons.collections.Bag} {@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. |
Adapters |
{@link org.apache.commons.collections.ArrayEnumeration} {@link org.apache.commons.collections.ArrayIterator} {@link org.apache.commons.collections.EnumerationIterator} {@link org.apache.commons.collections.IteratorEnumeration} |
Access Java1-style containers as though they were Java2-style Collections and vice-versa. |
Utilities |
{@link org.apache.commons.collections.Closure} {@link org.apache.commons.collections.CollectionUtils} {@link org.apache.commons.collections.MapUtils} |
Manipulate collection objects, determine set theoretic properties, ensure type-safety, etc. |
Transformation Tools |
{@link org.apache.commons.collections.FilterIterator} {@link org.apache.commons.collections.Predicate} {@link org.apache.commons.collections.ProxyIterator} {@link org.apache.commons.collections.Transformer} {@link org.apache.commons.collections.TransformIterator} |
Create views or functors on a collection. If your collection represents X, these allow you to define and look at f(X). |