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.SerializableInterface 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.
-
-