Interface IHashCodeImplementationRegistry

  • All Known Implementing Classes:
    HashCodeImplementationRegistry

    public interface IHashCodeImplementationRegistry
    Base interface for a registry that contains hashCode implementations.
    Author:
    Philip Helger
    • 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 valid
        aImpl - The main implementation