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 interface
Hasher.IdentityHashCode<E>
Type interface to indicate that the implementation usesSystem.identityHashCode(Object)
.static interface
Hasher.ImmutableHashCode<E>
Type interface to indicate that the implementingHasher
implementation will always return the same hash value for the same object.static interface
Hasher.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)
-
-