Package com.helger.commons.hashcode
Interface IHashCodeImplementationRegistry
- All Known Implementing Classes:
HashCodeImplementationRegistry
public interface IHashCodeImplementationRegistry
Base interface for a registry that contains hashCode implementations.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescription<T> voidregisterHashCodeImplementation(Class<T> aClass, IHashCodeImplementation<T> aImpl) Register a new hashCode implementation
-
Method Details
-
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
-