Interface HashingStrategy<E>
-
- All Superinterfaces:
Serializable
public interface HashingStrategy<E> extends Serializable
Interface for supporting user defined hashing strategies in Sets and Maps
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcomputeHashCode(E object)Computes the hashCode of the object as defined by the user.booleanequals(E object1, E object2)Checks two objects for equality.
-
-
-
Method Detail
-
computeHashCode
int computeHashCode(E object)
Computes the hashCode of the object as defined by the user.
-
-