Package maspack.util

Interface Summary
Clonable This interface provides a fix to the Java Cloneable interface in that any class implementing it is guaranteed to have a public clone method.
Disposable Describes any entity that might require external diposal.
FastMarcherUtility  
ListView<E>  
Logger  
NullScannable This is a marker interface indicating that the implementing class does not use the ref argument in its scan and write routines.
Range An object representing the set of valid values that an object can have.
Scannable  
 

Class Summary
ANSIColorLogger  
ArrayIndexComparator<E>  
ArraySort Support class for sorting arrays of integers and doubles.
ArraySortTest Test class for ArraySort.
ArraySupport A set of static methods to test for equality of arrays
BinaryHeap<E>  
BinaryHeap.DefaultComparator<E>  
BinaryInputStream A data input stream class that can be set to convert its input from little-endian to big-endian.
BinaryOutputStream A data output stream class that can be set to convert its output from big-endian to little-endian.
BinaryStreamTest  
BooleanHolder Wrapper class which ``holds'' a boolean value, enabling methods to return boolean values through arguments.
CharHolder Wrapper class which ``holds'' a character value, enabling methods to return character values through arguments.
CountedList<A>  
CubicSolver Finds the roots of a cubic equation on a specified interval.
CubicSolverTest Test the cubic roots methods in CubicRoots.java
DataBuffer A general class for storing double, integer, and Object data.
DataBufferTest  
DoubleHolder Wrapper class which ``holds'' a double value, enabling methods to return double values through arguments.
DoubleInterval A Range object which inspects a number to make sure it lies within a prescibed interval.
DynamicArray<T> Implements a resizable array of objects.
DynamicArrayTest  
EnumHolder  
EnumRange<E extends Enum>  
FastDijkstraMarcher Performs an algorithm similar to "Fast Marching", except uses graph distances like Dijkstra's algorithm.
FastMarcherBase Base class for fast marching types of algorithms
FastRadialMarcher Performs an algorithm similar to "Fast Marching", except uses basic euclidean distances.
FloatHolder Wrapper class which ``holds'' a float value, enabling methods to return float values through arguments.
FunctionTimer Class to measure the elapsed time between events, as marked by calls to the start and stop methods.
GenericFileFilter  
GetPropertyAction Taken from gnu.java.security.action.
IndentingPrintWriter  
IndexedBinaryHeap  
IntegerInterval A Range object which inspects a number to make sure it lies within a prescibed interval.
IntHolder Wrapper class which ``holds'' an integer value, enabling methods to return integer values through arguments.
LibraryLoader Centralizes loading of native libraries, in case we want to try (at some point) loading them some other way (such as through System.load()), which would allow us to specify the library directory.
ListIndexComparator<E>  
ListRemove<C> A utility class to remove items from a list, and (later) return them to the list in the same order.
ListRemoveTest Unit test for ListRemove.
LongHolder Wrapper class which ``holds'' a long value, enabling methods to return long values through arguments.
NumberFormat Object for formatting numbers in the same way similiar to the C printf function.
NumericInterval A Range object which inspects a number to make sure it lies within a prescibed interval.
NumericIntervalRange A base class for creating Range objects.
ObjectHolder Wrapper class which ``holds'' an Object reference, enabling methods to return Object references through arguments.
PathFinder  
Point3dGridUtility  
RandomGenerator  
RangeBase A base class for creating Range objects.
ReaderTokenizer A tokenizer class that implements the same functionality as java.io.StreamTokenizer, but with enhancements which allow it to read numbers with exponents, read integers formatted in hex, and save and restore settings.
ReaderTokenizerTest  
Round Class that supports rounding numbers with respect to k 10^n, where n is an integer and k is 1, 2, or 5, or with respect to 2^n, where n is an integer.
RoundTest  
Scan A set of static methods to help scan values from a ReaderTokenizer.
ScanTest Provides a method to test the scan/write methods of a Scannable object
StreamGobbler Gobbles up an input stream, printing out results...
StreamLogger  
StringHolder Wrapper class which ``holds'' a String reference, enabling methods to return String references through arguments.
SubListView<E>  
Test  
TestSupport  
UnitTest Base unit test class
Write A set of static methods to help write values to a PrintWriter.
 

Enum Summary
ANSIColorLogger.ANSIColor Allows different colours for log levels.
Logger.LogLevel Interface for basic logging capabilities
 

Exception Summary
InternalErrorException  
TestException