# Package org.modeshape.common.collection

A set of common classes for dealing with collections of other objects.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  CloseableSupplier<T extends AutoCloseable> | A `Supplier` for `AutoCloseable` objects that itself can be closed without regard for whether the `Supplier.get()` method has not yet been called.
  ListMultimap<K,V> | A collection similar to `Map`, but which may associate multiple values with any single key.
  Multimap<K,V> | A collection similar to `Map`, but which may associate multiple values with any single key.
  Problems | An interface for a collection of `Problem` objects, with multiple overloaded methods for adding errors, warnings, and informational messages.
  Supplier<T> | A basic supplier for another object.

- Class Summary
  Class | Description
  --- | ---
  AbstractMultimap<K,V> | A `Multimap` implementation that uses an `ArrayList` to store the values associated with a key.
  AbstractProblems | A list of problems for some execution context.
  ArrayListMultimap<K,V> | A `Multimap` implementation that uses an `ArrayList` to store the values associated with a key.
  Collections | A set of utilities for more easily creating various kinds of collections.
  EmptyIterator<T> | A reusuable `Iterator` implementation that has no elements.
  HashMultimap<K,V> | A `Multimap` implementation that uses an `HashSet` to store the values associated with a key.
  ImmutableAppendedList<T> | An immutable `List` that consists of a single element appended to another existing `List`.
  ImmutableMapEntry<K,V> | An immutable `Map.Entry` implementation.
  ImmutableProblems | An immutable wrapper for a mutable `Problems`.
  LinkedHashMultimap<K,V> | A `Multimap` implementation that uses an `LinkedHashSet` to store the values associated with a key.
  LinkedListMultimap<K,V> | A `Multimap` implementation that uses an `LinkedList` to store the values associated with a key.
  LinkedListMultimap.Entry<K,V> |
  MultiIterator<E> | An iterator implementation that wraps multiple other iterators.
  Problem | An immutable representation of a problem, with a status, code, internationalized and parameterized message, values for the parameters, information about the resource and location, and an optional exception.
  ReadOnlyIterator<T> | An `Iterator` implementation that only allows reading elements, used as a wrapper around another iterator to make the contents immutable to the user of this iterator.
  SequentialIterator<T> | An iterator that abstracts iterating over two other iterators.
  SimpleProblems | A simple `Problems` collection.
  SingleIterator<T> | An `Iterator` that is used to iterate over a single, fixed value.
  ThreadSafeProblems | A thread-safe `Problems` collection.
  UnmodifiableProperties | An immutable `Properties` implementation.

- Enum Summary
  Enum | Description
  --- | ---
  Problem.Status |

## Package org.modeshape.common.collection Description

A set of common classes for dealing with collections of other objects. Some of these classes work with standard collections, while others represent `Problems` that record multiple warnings, errors, and informational messages.

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.