| Interface | Description |
|---|---|
| Randomizer |
| Class | Description |
|---|---|
| ArrayIterator<T> |
Iterates efficiently through an array.
|
| CancelableThread |
Implements a thread with an additional flag indicating cancellation.
|
| DisjointSets<E> |
A basic implementation of a disjoint-set data structure for maintaining a
collection of disjoint dynamic sets.
|
| FrequencyCounter<T> |
A utility class for keeping counts of objects.
|
| JavaRandomizer |
Implementation of the Randomizer Interface using Java's java.util.Random
class.
|
| MockRandomizer |
Mock implementation of the Randomizer interface so that the set of Random
numbers returned are in fact predefined.
|
| SetOps |
Note: This code is based on - Java Tutorial: The Set Interface
Using LinkedHashSet, even though slightly slower than HashSet, in order to ensure order is always respected (i.e. |
| Util |