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. |
ArraySet<E> |
An array-backed set. |
ArrayStringFilter |
Filters Strings based on whether they exactly match any string in
the array it is initially onstructed 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) |
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. |
ConcatenationIterator<T> |
Iterator that represents the concatenation of two other iterators. |
ConvertByteArray |
This is used to convert an array of double into byte array which makes it possible to keep it more efficiently. |
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. |
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. |
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. |
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. |
Interval<E extends Comparable<E>> |
Represents a interval of a generic type E that is comparable. |
IntPair |
|
IntQuadruple |
|
IntTriple |
|
IntTuple |
A tuple of int. |
IntUni |
Just a single integer |
LowercaseFunction |
|
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. |
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 |
|
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. |
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 |
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 |
Timing |
A class for measuring how long things take. |
Triple<T1,T2,T3> |
Class representing an ordered triple of objects, possibly typed. |
TwoDimensionalMap<K1,K2,V> |
|
TwoDimensionalMap.Entry<K1,K2,V> |
This inner class represents a single entry in the TwoDimensionalMap. |
UTF8EquivalenceFunction |
A word function that can be applied to Chinese text in the tagger
or similar systems to make it treat ( and ( the same. |
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 |
|