Interface | Description |
---|---|
CloneableSerializable |
An object that is both cloneable and serializable, because Java's
Cloneable interface mistakenly doesn't have a clone() method
(search on the Web, it's funny "lost in the mists of time..." )
|
Identified<IdentifierType> |
Defines functionality for an object that has some type of identifier.
|
IdentifiedValue<IdentifierType,ValueType> |
Interface for a pairing of an identifier and its associated value.
|
KeyValuePair<KeyType,ValueType> |
Represents a key-value pair.
|
Named |
The
Named interface defines an Object that has a useful name
attached to it, which is common for many types of Objects. |
NamedValue<ValueType> |
The
NamedValue class describes a name-value pair. |
Pair<FirstType,SecondType> |
The
Pair interface defines the functionality of an object that
contains a pair of other objects inside of it. |
Randomized |
The
Randomized interface defines the functionality of an object
whose computations are based in part on an underlying random number
generator (a Random object). |
Summarizer<DataType,SummaryType> |
The
Summarizer interface defines the functionality of an object that
can take a collection of some data and return a summary of that data. |
Temporal |
The
Temporal interface defines the functionality of an object that
has a time associated with it. |
TemporalValue<ValueType> |
The
TemporalValue interface defines the interface for a container
that has a temporal coordinate plus a stored value. |
Triple<FirstType,SecondType,ThirdType> |
The
Triple interface defines the functionality of an object that
contains a three other objects inside of it. |
Weighted |
The
Weighted interface is to be used on objects that have some
weight component assigned to them. |
WeightedPair<FirstType,SecondType> |
The
WeightedPair interface defines an extension of a normal
Pair that includes an additional weight. |
WeightedValue<ValueType> |
Interface for a wrapper for a value that associates a weight with it.
|
Class | Description |
---|---|
AbstractCloneableSerializable |
The
AbstractCloneableserializable abstract class implements a default
version of the clone method that calls the Object clone method, but traps
the exception that can be thrown. |
AbstractNamed |
The
AbstractNamed class implements the Named interface
in a standard way by having a name field inside the object. |
AbstractRandomized |
The
AbstractRandomized abstract class implements the
Randomized interface by containing the random object in a protected
field. |
AbstractTemporal |
Partial implementation of Temporal
|
AbstractWeighted |
Container class for a Weighted object
|
ArgumentChecker |
A utility class for checking arguments to a function.
|
ArrayIndexSorter |
Returns the indices of the array sorted in ascending or descending order
|
DefaultIdentifiedValue<IdentifierType,ValueType> |
A default implementation of the
IdentifiedValue interface that
stores a value along with its identifier. |
DefaultKeyValuePair<KeyType,ValueType> |
A default implementation of the
KeyValuePair interface. |
DefaultNamedValue<ValueType> |
The
DefaultNamedValue class implements a container of a name-value
pair. |
DefaultPair<FirstType,SecondType> |
The
DefaultPair class implements a simple structure for a pair
of two objects, potentially of different types. |
DefaultTemporalValue<ValueType> |
The
DefaultTemporalValue class is a default implementation of the
TemporalValue interface. |
DefaultTriple<FirstType,SecondType,ThirdType> |
The
DefaultTriple class implements a simple structure for a triple
of three objects, potentially of different types. |
DefaultWeightedPair<FirstType,SecondType> |
The
DefaultWeightedPair class extends the DefaultPair class
to add a weight to the pair. |
DefaultWeightedValue<ValueType> |
The
WeightedValue class implements a simple generic container
that holds a value and a weight assigned to the value. |
DefaultWeightedValue.WeightComparator |
A comparator for weighted values based on the weight.
|
DoubleReuseRandom |
An extension of java.util.Random that builds a list of random doubles
and then serves up the random values from the array, returning to the beginning
when the end is reached.
|
ObjectUtil |
The ObjectUtil class implements static utility methods for dealing with
Objects.
|
StringUtil |
The
Strings class implements static utility methods for dealing with
String objects. |