Package | Description |
---|---|
gnu.trove |
Modifier and Type | Class | Description |
---|---|---|
class |
THashMap<K,V> |
An implementation of the Map interface which uses an open addressed
hash table to store its contents.
|
class |
THashSet<E> |
An implementation of the Set interface that uses an
open-addressed hash table to store its contents.
|
class |
TObjectByteHashMap<K> |
An open addressed Map implementation for Object keys and byte values.
|
class |
TObjectDoubleHashMap<K> |
An open addressed Map implementation for Object keys and double values.
|
class |
TObjectFloatHashMap<K> |
An open addressed Map implementation for Object keys and float values.
|
class |
TObjectHash<T> |
An open addressed hashing implementation for Object types.
|
class |
TObjectIdentityHashingStrategy<T> |
This object hashing strategy uses the System.identityHashCode
method to provide identity hash codes.
|
class |
TObjectIntHashMap<K> |
An open addressed Map implementation for Object keys and int values.
|
class |
TObjectLongHashMap<K> |
An open addressed Map implementation for Object keys and long values.
|
class |
TObjectShortHashMap<K> |
An open addressed Map implementation for Object keys and short values.
|
Modifier and Type | Field | Description |
---|---|---|
protected TObjectHashingStrategy<T> |
TObjectHash._hashingStrategy |
the strategy used to hash objects in this collection.
|
Constructor | Description |
---|---|
THashMap(int initialCapacity,
float loadFactor,
TObjectHashingStrategy<K> strategy) |
Creates a new
THashMap instance with a prime
capacity equal to or greater than initialCapacity and
with the specified load factor. |
THashMap(int initialCapacity,
TObjectHashingStrategy<K> strategy) |
Creates a new
THashMap instance with a prime
capacity equal to or greater than initialCapacity and
with the default load factor. |
THashMap(TObjectHashingStrategy<K> strategy) |
Creates a new
THashMap instance with the default
capacity and load factor. |
THashMap(java.util.Map<K,V> map,
TObjectHashingStrategy<K> strategy) |
Creates a new
THashMap instance which contains the
key/value pairs in map. |
THashSet(int initialCapacity,
float loadFactor,
TObjectHashingStrategy<E> strategy) |
Creates a new
THashSet instance with a prime
capacity equal to or greater than initialCapacity and
with the specified load factor. |
THashSet(int initialCapacity,
TObjectHashingStrategy<E> strategy) |
Creates a new
THashSet instance with a prime
capacity equal to or greater than initialCapacity and
with the default load factor. |
THashSet(TObjectHashingStrategy<E> strategy) |
Creates a new
THashSet instance with the default
capacity and load factor. |
THashSet(java.util.Collection<? extends E> collection,
TObjectHashingStrategy<E> strategy) |
Creates a new
THashSet instance containing the
elements of collection. |
TObjectByteHashMap(int initialCapacity,
float loadFactor,
TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectByteHashMap instance with a prime
value at or near the specified capacity and load factor. |
TObjectByteHashMap(int initialCapacity,
TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectByteHashMap instance whose capacity
is the next highest prime above initialCapacity + 1
unless that value is already prime. |
TObjectByteHashMap(TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectByteHashMap instance with the default
capacity and load factor. |
TObjectDoubleHashMap(int initialCapacity,
float loadFactor,
TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectDoubleHashMap instance with a prime
value at or near the specified capacity and load factor. |
TObjectDoubleHashMap(int initialCapacity,
TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectDoubleHashMap instance whose capacity
is the next highest prime above initialCapacity + 1
unless that value is already prime. |
TObjectDoubleHashMap(TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectDoubleHashMap instance with the default
capacity and load factor. |
TObjectFloatHashMap(int initialCapacity,
float loadFactor,
TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectFloatHashMap instance with a prime
value at or near the specified capacity and load factor. |
TObjectFloatHashMap(int initialCapacity,
TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectFloatHashMap instance whose capacity
is the next highest prime above initialCapacity + 1
unless that value is already prime. |
TObjectFloatHashMap(TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectFloatHashMap instance with the default
capacity and load factor. |
TObjectHash(int initialCapacity,
float loadFactor,
TObjectHashingStrategy<T> strategy) |
Creates a new
TObjectHash instance with a prime
value at or near the specified capacity and load factor. |
TObjectHash(int initialCapacity,
TObjectHashingStrategy<T> strategy) |
Creates a new
TObjectHash instance whose capacity
is the next highest prime above initialCapacity + 1
unless that value is already prime. |
TObjectHash(TObjectHashingStrategy<T> strategy) |
Creates a new
TObjectHash instance with the
default capacity and load factor and a custom hashing strategy. |
TObjectIntHashMap(int initialCapacity,
float loadFactor,
TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectIntHashMap instance with a prime
value at or near the specified capacity and load factor. |
TObjectIntHashMap(int initialCapacity,
TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectIntHashMap instance whose capacity
is the next highest prime above initialCapacity + 1
unless that value is already prime. |
TObjectIntHashMap(TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectIntHashMap instance with the default
capacity and load factor. |
TObjectLongHashMap(int initialCapacity,
float loadFactor,
TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectLongHashMap instance with a prime
value at or near the specified capacity and load factor. |
TObjectLongHashMap(int initialCapacity,
TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectLongHashMap instance whose capacity
is the next highest prime above initialCapacity + 1
unless that value is already prime. |
TObjectLongHashMap(TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectLongHashMap instance with the default
capacity and load factor. |
TObjectShortHashMap(int initialCapacity,
float loadFactor,
TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectShortHashMap instance with a prime
value at or near the specified capacity and load factor. |
TObjectShortHashMap(int initialCapacity,
TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectShortHashMap instance whose capacity
is the next highest prime above initialCapacity + 1
unless that value is already prime. |
TObjectShortHashMap(TObjectHashingStrategy<K> strategy) |
Creates a new
TObjectShortHashMap instance with the default
capacity and load factor. |
GNU Trove is copyright © 2001-2009 Eric D. Friedman. All Rights Reserved.