shadow

Package shadow:utility

Package shadow:utility contains basic data structures and utility classes that are useful in many different kinds of programs.

Interface Summary

Interface Description
Deque

Interface Deque<E> defines the operations that a container class must implement to be a double-ended queue (deque).

Equate
List

Interface List<E> defines the operations that a container class must implement to be an ordered list.

Map

Interface Map<K,V> defines the operations that a class must implement to be a map, also known as a symbol table.

OrderedMap

Interface OrderedMap<K,V> defines the operations that a class must implement to be an ordered map, also known as an ordered symbol table.

OrderedSet

Interface OrderedSet<E> defines the operations that a class must implement to be an ordered set.

Set

Interface Set<E> defines the operations that a class must implement to be a set, a collection of elements.

Class Summary

Class Description
ArrayDeque

Class ArrayDeque<E> stores a double-ended queue (deque) of elements of type E, implemented with a dynamic array as internal storage.

ArrayList

Class ArrayList<V> stores a list of elements of type V, implemented with a dynamic array as internal storage.

DefaultEqualizer
HashMap

Class HashMap<K,V> stores a map, also known as a symbol table, of key-value pairs with entries mapping keys of type K to values of type V.

HashSet

Class HashSet<V> stores a set, a collection of objects of type V with no repetitions.

LinkedList

Class LinkedList<V> stores a list of elements of type V, implemented with a circular, doubly linked list as internal storage.

Random

Class Random allows the generation of pseudorandom numbers using the Mersenne Twister algorithm.

ReadOnlyList
ThreadSafeList
TreeMap

Class TreeMap<K,V> stores an ordered map, also known as an ordered symbol table, of key-value pairs with entries mapping keys of type K to values of type V.

TreeSet

Class TreeSet<V> stores an ordered set, an ordered collection of objects of type V with no repetitions.

Exception Summary

Exception Description
IllegalModificationException

Exception IllegalModificationException should be thrown when an operation modifies the state of an object when it is illegal to do so.

NoSuchElementException

Exception NoSuchElementException should be thrown when an operation that requires a particular element to exist is attempted yet no such element exists.