Package edu.stanford.nlp.util

Interface Summary
CoreMap Base type for all annotatable core objects.
Factory<T> A generified factory class which creates instances of a particular type.
FileProcessor Interface for a Visitor pattern for Files.
Filter<T> Filter is an interface for predicate objects which respond to the accept method.
Function<T1,T2> An interface for classes that act as a function transforming one object to another.
Heap<E> Heap interface.
Index<E> Minimalist interface for implementations of Index.
PriorityQueue<E> A Set that also represents an ordering of its elements, and responds quickly to add(), changePriority(), removeFirst(), and getFirst() method calls.
Scored Scored: This is a simple interface that says that an object can answer requests for the score, or goodness of the object.
TypesafeMap<BASE> Type signature for a class that supports the basic operations required of a typesafe heterogeneous map.
TypesafeMap.Key<BASE,VALUE> Base type of keys for the map.
 

Class Summary
AbstractIterator<E> Iterator with remove() defined to throw an UnsupportedOperationException.
ArrayCoreMap Base implementation of CoreMap backed by Java Arrays.
ArrayHeap<E> Implements a heap as an ArrayList.
ArrayMap<K,V> Map backed by an Array.
ArrayUtils Static utility methods for operating on arrays.
Beam<T> Implements a finite beam, taking a comparator (default is ScoredComparator.ASCENDING_COMPARATOR, the MAX object according to the comparator is the one to be removed) and a beam size on construction (default is 100).
BinaryHeapPriorityQueue<E> PriorityQueue with explicit double priority values.
CollectionFactory<T> Factory for vending Collections.
CollectionFactory.ArrayListFactory<T>  
CollectionFactory.HashSetFactory<T>  
CollectionFactory.LinkedListFactory<T>  
CollectionUtils Collection of useful static methods for working with Collections.
CollectionValuedMap<K,V> Map from keys to Collections.
ConcatenationIterator<T> Iterator that represents the concatenation of two other iterators.
DeltaCollectionValuedMap<K,V> Implementation of CollectionValuedMap that appears to store an "original" map and changes to that map.
DeltaMap<K,V> A Map which wraps an original Map, and only stores the changes (deltas) from the original Map.
DisabledPreferences A do-nothing Preferences implementation so that we can avoid the hassles of the JVM Preference implementations.
DisabledPreferencesFactory Returns do-nothing Preferences implementation.
ErasureUtils Class to gather unsafe operations into one place.
FilePathProcessor The FilePathProcessor traverses a directory structure and applies the processFile method to files meeting some criterion.
FilteredIterator<T> Iterator that suppresses items in another iterator based on a filter function.
Filters Some simple implementations of the Filter interface.
FixedPrioritiesPriorityQueue<E> A priority queue based on a binary heap.
Generics A collection of utilities to make dealing with Java generics less painful and verbose.
HashableCoreMap An extension of ArrayCoreMap with an immutable set of key,value pairs that is used for equality and hashcode comparisons.
HashIndex<E> An Index is a collection that maps between an Object vocabulary and a contiguous non-negative integer index series beginning (inclusively) at 0.
IdentityHashSet<E> This class provides a IdentityHashMap-backed implementation of the Set interface.
Interner<T> For interning (canonicalizing) things.
IntPair  
IntQuadruple  
IntTriple  
IntTuple A tuple of int.
IntUni Just a single integer
MapFactory<K,V> A factory class for vending different sorts of Maps.
Maps Utilities for Maps, including inverting, composing, and support for list/set values.
MutableDouble A class for Double objects that you can change.
MutableInteger A class for Integer objects that you can change.
Numberer Gives unique integer serial numbers to a family of objects, identified by a name space.
Pair<T1,T2> Pair is a Class for holding a pair of objects.
ScoredComparator ScoredComparator allows one to compare Scored things.
ScoredObject<T> Wrapper class for holding a scored object
Sets Utilities for sets.
StringUtils StringUtils is a class for random String things, including output formatting and command line argument parsing.
Timing A class for measuring how long things take.
Triple<T1,T2,T3> Class representing an ordered triple of objects, possibly typed.
XMLUtils Provides some utilities for dealing with XML files, both by properly parsing them and by using the methods of a desperate Perl hacker.
XMLUtils.XMLTag  
 

Exception Summary
HashableCoreMap.HashableCoreMapException An exception thrown when attempting to change the value associated with an (immutable) hash key in a HashableCoreMap.
 



Stanford NLP Group