Package bcds.tools

Class Summary
ArgsParser ArgsParser facilitates the processing of command-line arguments.
ColorSetGenerator Generates a set of colors where the colors are (more or less) visually distinguishable.
CombinationGenerator CombinationGenerator systematically generates all combinations of n elements, taken r at a time.
DataFileReader Implements a line oriented file reader.
DataFileWriter Implements a line oriented file writer.
DefaultSigHandler Install signal handlers, using SUN PROPRIETARY API.
DL Provides a very simplistic logger for "debug".
DynLoader Loads classes using both qualified and unqualified names and mantains an ordered list of the classes currently loaded.
Environ Implements a table of key=value pairs, where key is a string and value a value of arbitrary type which can be retrieved under a number of a specific types (for example int, double and bool), possibly after a type adaptation.
Exec Executes an external program, waits for its completion and redirects its standard output and standard error to user-provided destinations.
FilenameSeq FileNameSeq creates file names based on a name pattern with an embedded sequence marker.
FreqTable<E> Implements a simple frequency table of elements of the parameterized type E.
GZipFileWriter Implements a line oriented, gzip-compressed file writer.
IntVar Implements a mutable int (an integer variable).
MapToConst<K,V> Maps each and every key to a (single) constant value.
NumberFmt<K,V> Formats a Number as a string, using the most simple (human) representation possible.
PQItemWithNumericKey<E> An item that can be inserted into a priority queue, where the priority is defined by a numeric key.
PQWithNumericKey<E> A priority queue where the key is a value of type double.
RunningStdDev Computes a running (or online, or continuous) standard deviation, that is, as a new value is available, it is pushed into an instance of this class and, at any time, the standard deviation can be obtained with a call to stdDev.
SimplePair<T1,T2> SimplePair implements a two-component tuple.
ThreadedPrintStream Implements a PrintStream that offers a separate "channel" (output stream) to each thread in a multithreaded program.
Utils This class is a collection of utility functions.
 

Enum Summary
ArgsParserException.ErrorCode Lists the error codes that ArgsParser can include in an ArgsParserException as an indication of the cause of the error.
SortOrder Gives names to the two possible orderings (ascending, descending).
 

Exception Summary
AnyException This class wraps any Exception (checked or unchecked) into a RuntimeException.
ArgsParserException Exception class for ArgsParser.
ExitException A RuntimeException used to signal "quick exit".