Package one.microstream.hashing
Interface Hasher<T>
- Type Parameters:
T
- the hashed element's type
- All Known Subinterfaces:
HashEqualator<T>
,HashEqualator.IdentityHashEqualator<E>
,HashEqualator.ImmutableHashEqualator<E>
,HashEqualator.ImmutableValueTypeHashEqualator<E>
,HashEqualator.ValueTypeHashEqualator<E>
,Hasher.IdentityHashCode<T>
,Hasher.ImmutableHashCode<T>
,Hasher.ValueHashCode<T>
- 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<T>
Type interface to indicate that the implementation usesSystem.identityHashCode(Object)
.static interface
Hasher.ImmutableHashCode<T>
Type interface to indicate that the implementingHasher
implementation will always return the same hash value for the same object.static interface
Hasher.ValueHashCode<T>
Type interface to indicate that the implementation usesObject.hashCode()
(that actually only makes sense for proper value types, not for entity types). -
Method Summary