Package com.helger.commons.hashcode
Interface IHashCodeImplementation<T>
- Type Parameters:
T- The data type for which the hash code should be implemented
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to implement for custom hash code implementation. This interface is
only used within the
HashCodeImplementationRegistry.- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionintgetHashCode(T aObj) Get the hash code for the passed object
-
Method Details
-
getHashCode
Get the hash code for the passed object- Parameters:
aObj- The object for which the hash code is to be calculated- Returns:
- The hash code for this object
-