gnu.trove |
|
Java Source File Name | Type | Comment |
HashFunctions.java | Class | Provides various hash functions. |
PrimeFinder.java | Class | Used to keep hash table capacities prime numbers.
Not of interest for users; only for implementors of hashtables.
Choosing prime numbers as hash table capacities is a good idea
to keep them working fast, particularly under hash table
expansions.
However, JDK 1.2, JGL 3.1 and many other toolkits do nothing to
keep capacities prime. |
SerializationProcedure.java | Class | Implementation of the variously typed procedure interfaces that supports
writing the arguments to the procedure out on an ObjectOutputStream.
In the case of two-argument procedures, the arguments are written out
in the order received.
Any IOException is trapped here so that it can be rethrown in a writeObject
method.
Created: Sun Jul 7 00:14:18 2002
author: Eric D. |
THash.java | Class | Base class for hashtables that use open addressing to resolve
collisions.
Created: Wed Nov 28 21:11:16 2001
author: Eric D. |
TIntArrayList.java | Class | A resizable, array-backed list of int primitives.
Created: Sat Dec 29 14:21:12 2001
author: Eric D. |
TIntFunction.java | Interface | Interface for functions that accept and return one int primitive.
Created: Mon Nov 5 22:19:36 2001
author: Eric D. |
TIntHash.java | Class | An open addressed hashing implementation for int primitives.
Created: Sun Nov 4 08:56:06 2001
author: Eric D. |
TIntHashingStrategy.java | Interface | Interface to support pluggable hashing strategies in maps and sets.
Implementors can use this interface to make the trove hashing
algorithms use an optimal strategy when computing hashcodes.
Created: Sun Nov 4 08:56:06 2001
author: Eric D. |
TIntHashSet.java | Class | An open addressed set implementation for int primitives.
author: Eric D. |
TIntHashSetDecorator.java | Class | Wrapper class to make a TIntHashSet conform to the java.util.Set API.
This class simply decorates an underlying TIntHashSet and translates the Object-based
APIs into their Trove primitive analogs.
Note that wrapping and unwrapping primitive values is extremely inefficient. |
TIntIntHashMap.java | Class | An open addressed Map implementation for int keys and int values.
Created: Sun Nov 4 08:52:45 2001
author: Eric D. |
TIntIntIterator.java | Class | Iterator for maps of type int and int.
The iterator semantics for Trove's primitive maps is slightly different
from those defined in java.util.Iterator, but still well within
the scope of the pattern, as defined by Gamma, et al.
This iterator does not implicitly advance to the next entry when
the value at the current position is retrieved. |
TIntIntProcedure.java | Interface | Interface for procedures that take two parameters of type int and int.
Created: Mon Nov 5 22:03:30 2001
author: Eric D. |
TIntIterator.java | Class | Iterator for int collections.
author: Eric D. |
TIntObjectHashMap.java | Class | An open addressed Map implementation for int keys and Object values.
Created: Sun Nov 4 08:52:45 2001
author: Eric D. |
TIntObjectIterator.java | Class | Iterator for maps of type int and Object.
The iterator semantics for Trove's primitive maps is slightly different
from those defined in java.util.Iterator, but still well within
the scope of the pattern, as defined by Gamma, et al.
This iterator does not implicitly advance to the next entry when
the value at the current position is retrieved. |
TIntObjectProcedure.java | Interface | Interface for procedures that take two parameters of type int and Object.
Created: Mon Nov 5 22:03:30 2001
author: Eric D. |
TIntProcedure.java | Interface | Interface for procedures with one int parameter.
Created: Mon Nov 5 21:45:49 2001
author: Eric D. |
TIterator.java | Class | Abstract iterator class for THash implementations. |
TObjectFunction.java | Interface | Interface for functions that accept and return one Object reference.
Created: Mon Nov 5 22:19:36 2001
author: Eric D. |
TObjectProcedure.java | Interface | Interface for procedures with one Object parameter.
Created: Mon Nov 5 21:45:49 2001
author: Eric D. |
TPrimitiveHash.java | Class | The base class for hashtables of primitive values. |
TPrimitiveIterator.java | Class | Implements all iterator functions for the hashed object set.
Subclasses may override objectAtIndex to vary the object
returned by calls to next() (e.g. |