Package com.helger.commons.hashcode
Interface IHashCodeImplementationRegistry
-
- All Known Implementing Classes:
HashCodeImplementationRegistry
public interface IHashCodeImplementationRegistryBase interface for a registry that contains hashCode implementations.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> voidregisterHashCodeImplementation(Class<T> aClass, IHashCodeImplementation<T> aImpl)Register a new hashCode implementation
-
-
-
Method Detail
-
registerHashCodeImplementation
<T> void registerHashCodeImplementation(@Nonnull Class<T> aClass, @Nonnull IHashCodeImplementation<T> aImpl)
Register a new hashCode implementation- Type Parameters:
T- Type to register- Parameters:
aClass- The class for which the hashCode implementation is validaImpl- The main implementation
-
-