|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TObjectHashingStrategy
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 |
---|
int computeHashCode(java.lang.Object o)
object
- for which the hashcode is to be computed
boolean equals(java.lang.Object o1, java.lang.Object o2)
o1
- an Object
valueo2
- an Object
value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |