|
GNU Trove | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TObjectHashingStrategy<T>
Interface to support pluggable hashing strategies in maps and sets. Implementors can use this interface to make the trove hashing algorithms use object values, values provided by the java runtime, or a custom strategy when computing hashcodes. Created: Sat Aug 17 10:52:32 2002
| Method Summary | |
|---|---|
int |
computeHashCode(T object)
Computes a hash code for the specified object. |
boolean |
equals(T o1,
T o2)
Compares o1 and o2 for equality. |
| Method Detail |
|---|
int computeHashCode(T object)
object - for which the hashcode is to be computed
boolean equals(T o1,
T o2)
o1 - an Object valueo2 - an Object value
|
GNU Trove | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||