Interface HashingStrategy<E>
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
HashingStrategies.BooleanFunctionHashingStrategy
,HashingStrategies.ByteFunctionHashingStrategy
,HashingStrategies.ChainedHashingStrategy
,HashingStrategies.CharFunctionHashingStrategy
,HashingStrategies.DefaultStrategy
,HashingStrategies.DoubleFunctionHashingStrategy
,HashingStrategies.FloatFunctionHashingStrategy
,HashingStrategies.FunctionHashingStrategy
,HashingStrategies.IdentityHashingStrategy
,HashingStrategies.IntFunctionHashingStrategy
,HashingStrategies.LongFunctionHashingStrategy
,HashingStrategies.NullSafeFunctionHashingStrategy
,HashingStrategies.NullSafeHashingStrategy
,HashingStrategies.ShortFunctionHashingStrategy
public interface HashingStrategy<E> extends java.io.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 int
computeHashCode(E object)
Computes the hashCode of the object as defined by the user.boolean
equals(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.
-
-