Package one.microstream.hashing
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 interfaceHasher.IdentityHashCode<E>Type interface to indicate that the implementation usesSystem.identityHashCode(Object).static interfaceHasher.ImmutableHashCode<E>Type interface to indicate that the implementingHasherimplementation will always return the same hash value for the same object.static interfaceHasher.ValueHashCode<E>Type interface to indicate that the implementation usesObject.hashCode()(that actually only makes sense for proper value types, not for entity types).
-
-
-
Method Detail
-
hash
int hash(T object)
-
-