Interface Hasher<T>

All Known Subinterfaces:
HashEqualator<T>, HashEqualator.IdentityHashEqualator<E>, HashEqualator.ImmutableHashEqualator<E>, HashEqualator.ImmutableValueTypeHashEqualator<E>, HashEqualator.ValueTypeHashEqualator<E>, Hasher.IdentityHashCode<E>, Hasher.ImmutableHashCode<E>, Hasher.ValueHashCode<E>
All Known Implementing Classes:
PersistenceTypeDescriptionMember.IdentityHashEqualator, TypePair.HashEquality

public interface Hasher<T>
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static interface  Hasher.IdentityHashCode<E>
    Type interface to indicate that the implementation uses System.identityHashCode(Object).
    static interface  Hasher.ImmutableHashCode<E>
    Type interface to indicate that the implementing Hasher implementation will always return the same hash value for the same object.
    static interface  Hasher.ValueHashCode<E>
    Type interface to indicate that the implementation uses Object.hashCode() (that actually only makes sense for proper value types, not for entity types).
  • Method Summary

    Modifier and Type Method Description
    int hash​(T object)  
  • Method Details

    • hash

      int hash​(T object)