|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Hasher | |
---|---|
goldman.collection.set | A set is an untagged algorithmically positioned collection of elements in which no two elements are equivalent. |
Uses of Hasher in goldman.collection.set |
---|
Classes in goldman.collection.set that implement Hasher | |
---|---|
static class |
DirectAddressing.DirectAddressingHasher<E>
The direct addressing hasher allocates slot 0 for the null element and adds one to each of the naturally computed hash codes for the elements. |
static class |
OpenAddressing.DefaultOpenAddressingHasher<E>
The default open addressing hasher provides a default hasher for open addressing that hashes null to slot 0, and uses the element's hash code for all other elements. |
static class |
SeparateChaining.DefaultSeparateChainingHasher<E>
The default separate chaining hasher provides a default hasher for separate chaining that hashes null to slot 0, and uses the element's hash code for all other elements. |
Constructors in goldman.collection.set with parameters of type Hasher | |
---|---|
DirectAddressing(int capacity,
double load,
Comparator<? super E> equivalenceTester,
Hasher<? super E> hasher)
Creates a hash table with the specified capacity (plus one to handle null values), and with the given comparator and hasher |
|
OpenAddressing(int capacity,
double load,
Comparator<? super E> equivalenceTester,
Hasher<E> hasher)
Creates a hash table with the specified capacity (plus one to handle null values), and with the given comparator and hasher |
|
SeparateChaining(int capacity,
double load,
Comparator<? super E> equivalenceTester,
Hasher<? super E> hasher)
Creates a hash table with the specified capacity (plus one to handle null values), and with the given comparator and hasher |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |