Package org.apache.pivot.collections

Defines a set of classes and interfaces that serve as generic collections as well as the data model for UI components.

See:
          Description

Interface Summary
Collection<T> Root interface in collection hierarchy.
Dictionary<K,V> Interface representing a set of key/value pairs.
Group<E> Interface representing a group of unique elements.
List<T> Collection interface representing an ordered sequence of items.
List.ItemIterator<T> Optional item iterator interface.
ListListener<T> List listener interface.
Map<K,V> Collection interface representing set of key/value pairs.
MapListener<K,V> Map listener interface.
Queue<T> Interface representing a first-in, first-out (FIFO) queue when unsorted, and a priority queue when sorted.
QueueListener<T> Queue listener interface.
Sequence<T> Interface representing an ordered sequence of items.
Sequence.Tree.ItemIterator<T> Nested sequence item iterator interface.
Set<E> Collection interface representing a group of unique elements.
SetListener<E> Set listener interface.
Stack<T> Interface representing a last-in, first-out (LIFO) stack when unsorted, and a priority stack when sorted.
StackListener<T> Stack listener interface.
 

Class Summary
ArrayAdapter<T> Implementation of the Sequence interface that wraps an array.
ArrayList<T> Implementation of the List interface that is backed by an array.
ArrayQueue<T> Implementation of the Queue interface that is backed by an array.
ArrayStack<T> Implementation of the Stack interface that is backed by an array.
Dictionary.Pair<K,V> Class representing a key/value pair.
EnumList<E extends Enum<E>> Implementation of the List interface that is backed by an enum.
EnumMap<E extends Enum<E>,V> Implementation of the Set interface whose keys are backed by a set of enum values.
EnumSet<E extends Enum<E>> Implementation of the Set interface that is backed by an array of enum values.
HashMap<K,V> Implementation of the Map interface that is backed by a hash table.
HashSet<E> Implementation of the Set interface that is backed by a hash table.
LinkedList<T> Implementation of the List interface that is backed by a linked list.
LinkedQueue<T> Implementation of the Queue interface that is backed by a linked list.
LinkedStack<T> Implementation of the Stack interface that is backed by a linked list.
List.ListListenerList<T> List listener list.
ListListener.Adapter<T> List listener adapter.
Map.MapListenerList<K,V> Map listener list.
MapListener.Adapter<K,V> Map listener adapter.
Queue.QueueListenerList<T> Queue listener list.
QueueListener.Adapter<T> QueueListener adapter.
Sequence.Tree<T> Collection of static utility methods providing path access to nested sequence data.
Sequence.Tree.ImmutablePath Class representing an immutable path.
Sequence.Tree.Path An object representing a path to a nested node in nested sequence data.
Set.SetListenerList<E> Set listener list.
SetListener.Adapter<E> Set listener adapter.
Stack.StackListenerList<T> Stack listener list.
StackListener.Adapter<T> StackListener adapter.
 

Package org.apache.pivot.collections Description

Defines a set of classes and interfaces that serve as generic collections as well as the data model for UI components.