|
GNU Trove | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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(java.lang.Object o)
Computes a hash code for the specified object. |
boolean |
equals(java.lang.Object o1,
java.lang.Object o2)
Compares o1 and o2 for equality. |
Method Detail |
public int computeHashCode(java.lang.Object o)
public boolean equals(java.lang.Object o1, java.lang.Object 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 |