Package org.modeshape.common.collection

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

See:
          Description


Interface Summary
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.
 

Class Summary
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>  
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.
SimpleProblems A simple Problems collection.
ThreadSafeProblems A thread-safe Problems collection.
UnmodifiableProperties An immutable Properties implementation.
 

Enum Summary
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-2011 JBoss, a division of Red Hat. All Rights Reserved.