Interface | Description |
---|---|
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.
|
FuzzyInterval.FuzzyComparable<T> |
Interface with a looser ordering than Comparable.
|
HasInterval<E extends Comparable<E>> |
HasInterval interface
|
Heap<E> |
Heap interface.
|
Index<E> |
A collection that maps between a vocabulary of type E and a
continuous non-negative integer index series beginning (inclusively) at 0.
|
Iterables.IncrementComparator<V1,V2> |
A comparator used by the merge functions to determine which of two
iterators to increment by one of the merge functions.
|
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 |
Type signature for a class that supports the basic operations required
of a typesafe heterogeneous map.
|
TypesafeMap.Key<VALUE> |
Base type of keys for the map.
|
Class | Description |
---|---|
AbstractIterator<E> |
Iterator with
remove() defined to throw an
UnsupportedOperationException . |
ArrayCoreMap |
Base implementation of
CoreMap backed by two Java arrays. |
ArrayHeap<E> |
Implements a heap as an ArrayList.
|
ArrayMap<K,V> |
Map backed by an Array.
|
ArraySet<E> |
An array-backed set.
|
ArrayStringFilter |
Filters Strings based on whether they exactly match any string in
the array it is initially constructed with.
|
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.
|
ByteStreamGobbler |
Stream Gobbler that read and write bytes
(can be used to gobble byte based stdout from a process.exec into a file)
|
CacheMap<K,V> |
A fixed size hash map with LRU replacement.
|
Characters |
Character-level utilities.
|
CollectionFactory<T> |
Factory for vending Collections.
|
CollectionFactory.ArrayListFactory<T> | |
CollectionFactory.HashSetFactory<T> | |
CollectionFactory.LinkedListFactory<T> | |
CollectionFactory.SizedArrayListFactory<T> | |
CollectionFactory.TreeSetFactory<T> | |
CollectionUtils |
Collection of useful static methods for working with Collections.
|
CollectionValuedMap<K,V> |
Map from keys to
Collection s. |
Comparators | |
ConcatenationIterator<T> |
Iterator that represents the concatenation of two other iterators.
|
ConfusionMatrix<U> |
This implements a confusion table over arbitrary types of class labels.
|
ConvertByteArray |
This is used to convert an array of double into byte array which makes it possible to keep it more efficiently.
|
DataFilePaths |
Simple utility class: reads the environment variable in
ENV_VARIABLE and provides a method that converts strings which
start with that environment variable to file paths.
|
DeltaCollectionValuedMap<K,V> |
Implementation of CollectionValuedMap that appears to store an "original"
map and changes to that map.
|
DeltaIndex<E> |
A class that has a backing index, such as a hash index you don't
want changed, and another index which will hold extra entries that
get added during the life of the index.
|
DeltaMap<K,V> |
A Map which wraps an original Map, and only stores the changes (deltas) from
the original Map.
|
EditDistance |
Find the (Levenshtein) edit distance between two Strings or Character
arrays.
|
ErasureUtils |
Class to gather unsafe operations into one place.
|
Execution |
A class to set command line options.
|
Execution.LazyFileIterator |
A lazy iterator over files, not loading all of them into memory at once.
|
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
Predicate interface. |
Filters.ConjFilter<T> |
Conjunction of a list of filters.
|
Filters.DisjFilter<T> |
Disjunction of a list of filters.
|
Filters.RandomFilter<E> |
A filter that accepts a random fraction of the input it sees.
|
FixedPrioritiesPriorityQueue<E> |
A priority queue based on a binary heap.
|
FuzzyInterval<E extends FuzzyInterval.FuzzyComparable<E>> |
A FuzzyInterval is an extension of Interval where not all endpoints are always
specified or comparable.
|
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> |
Implements an Index that supports constant-time lookup in
both directions (via
get(int) and indexOf(E) . |
IdentityHashSet<E> |
This class provides a
IdentityHashMap -backed
implementation of the Set interface. |
Interner<T> |
For interning (canonicalizing) things.
|
Interval<E extends Comparable<E>> |
Represents a interval of a generic type E that is comparable.
|
IntervalTree<E extends Comparable<E>,T extends HasInterval<E>> |
An interval tree maintains a tree so that all intervals to the left start
before current interval and all intervals to the right start after.
|
IntervalTree.TreeNode<E extends Comparable<E>,T extends HasInterval<E>> | |
IntPair | |
IntQuadruple | |
IntTriple | |
IntTuple |
A tuple of int.
|
IntUni |
Just a single integer
|
IterableIterator<E> |
This cures a pet peeve of mine: that you can't use an Iterator directly in
Java 5's foreach construct.
|
Iterables |
Utilities for helping out with Iterables as Collections is to Collection.
|
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.
|
MemoryMonitor |
Utilities for monitoring memory use, including peak memory use.
|
MemoryMonitor.PeakMemoryMonitor |
This class offers a simple way to track the peak memory used by a program.
|
MetaClass |
A meta class using Java's reflection library.
|
MetaClass.ClassFactory<T> | |
MutableDouble |
A class for Double objects that you can change.
|
MutableInteger |
A class for Integer objects that you can change.
|
MutableLong |
A class for Long objects that you can change.
|
PaddedList<E> |
A PaddedList wraps another list, presenting an apparently infinite
list by padding outside the real confines of the list with a default
value.
|
Pair<T1,T2> |
Pair is a Class for holding mutable pairs of objects.
|
Pair.ByFirstPairComparator<T1,T2> |
Compares a
Pair to another Pair according to the first object of the pair only
This function will work providing
the first element of the Pair is comparable, otherwise will throw a
ClassCastException |
Pair.ByFirstReversePairComparator<T1,T2> |
Compares a
Pair to another Pair according to the first object of the pair only in decreasing order
This function will work providing
the first element of the Pair is comparable, otherwise will throw a
ClassCastException |
Pair.BySecondPairComparator<T1,T2> |
Compares a
Pair to another Pair according to the second object of the pair only
This function will work providing
the first element of the Pair is comparable, otherwise will throw a
ClassCastException |
Pair.BySecondReversePairComparator<T1,T2> |
Compares a
Pair to another Pair according to the second object of the pair only in decreasing order
This function will work providing
the first element of the Pair is comparable, otherwise will throw a
ClassCastException |
PropertiesUtils | |
PropertiesUtils.Property | |
Quadruple<T1,T2,T3,T4> |
A quadruple of ordered objects.
|
ReflectionLoading |
The goal of this class is to make it easier to load stuff by
reflection.
|
RegexStringFilter |
Filters Strings based on whether they match a given regex.
|
ScoredComparator |
ScoredComparator allows one to compare Scored things.
|
ScoredObject<T> |
Wrapper class for holding a scored object.
|
Sets |
Utilities for sets.
|
StreamGobbler |
Reads the output of a process started by Process.exec()
Adapted from:
http://www.velocityreviews.com/forums/t130884-process-runtimeexec-causes-subprocess-hang.html
|
StringParsingTask<E> |
An instantiation of this abstract class parses a
String and
returns an object of type E . |
StringUtils |
StringUtils is a class for random String things, including output
formatting and command line argument parsing.
|
SystemUtils |
Useful methods for running shell commands, getting the process ID, checking
memory usage, etc.
|
SystemUtils.ProcessOutputStream |
Helper class that acts as a output stream to a process
|
ThreeDimensionalMap<K1,K2,K3,V> | |
Timing |
A class for measuring how long things take.
|
TreeShapedStack<T> |
Represents a stack where one prefix of the stack can branch in
several directions.
|
Triple<T1,T2,T3> |
Class representing an ordered triple of objects, possibly typed.
|
TwoDimensionalCollectionValuedMap<K1,K2,V> |
A class which can store mappings from Object keys to
Collection s of Object values. |
TwoDimensionalMap<K1,K2,V> | |
TwoDimensionalMap.Entry<K1,K2,V> |
This inner class represents a single entry in the TwoDimensionalMap.
|
TwoDimensionalSet<K1,K2> |
Wrap a TwoDimensionalMap as a TwoDimensionalSet.
|
UTF8EquivalenceFunction |
A word function that can be applied to Chinese text in the tagger
or similar systems to make it treat ( and ( the same.
|
ValuedInterval<T,E extends Comparable<E>> |
Interval with value
|
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 |
Enum | Description |
---|---|
ArrayStringFilter.Mode | |
Interval.RelType |
RelType gives the basic types of relations between two intervals
|
Exception | Description |
---|---|
HashableCoreMap.HashableCoreMapException |
An exception thrown when attempting to change the value associated
with an (immutable) hash key in a HashableCoreMap.
|
MetaClass.ClassCreationException | |
MetaClass.ConstructorNotFoundException | |
ReflectionLoading.ReflectionLoadingException |
This class encapsulates all of the exceptions that can be thrown
when loading something by reflection.
|
RuntimeInterruptedException |
An unchecked version of
InterruptedException . |
StringParsingTask.ParserException | |
SystemUtils.ProcessException |
Runtime exception thrown by execute.
|
Annotation Type | Description |
---|---|
Execution.Option |