Class PersistenceTypeDescriptionMember.IdentityHashEqualator
java.lang.Object
one.microstream.persistence.types.PersistenceTypeDescriptionMember.IdentityHashEqualator
- All Implemented Interfaces:
Equalator<PersistenceTypeDescriptionMember>
,HashEqualator<PersistenceTypeDescriptionMember>
,Hasher<PersistenceTypeDescriptionMember>
- Enclosing interface:
- PersistenceTypeDescriptionMember
public static final class PersistenceTypeDescriptionMember.IdentityHashEqualator extends Object implements HashEqualator<PersistenceTypeDescriptionMember>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.equality.Equalator
Equalator.ComparatorWrapper<T>, Equalator.Sequence<T>
Nested classes/interfaces inherited from interface one.microstream.hashing.HashEqualator
HashEqualator.IdentityHashEqualator<E>, HashEqualator.ImmutableHashEqualator<E>, HashEqualator.ImmutableValueTypeHashEqualator<E>, HashEqualator.Provider<T>, HashEqualator.ValueTypeHashEqualator<E>
Nested classes/interfaces inherited from interface one.microstream.hashing.Hasher
Hasher.IdentityHashCode<E>, Hasher.ImmutableHashCode<E>, Hasher.ValueHashCode<E>
-
Constructor Summary
Constructors Constructor Description IdentityHashEqualator()
-
Method Summary
Modifier and Type Method Description boolean
equal(PersistenceTypeDescriptionMember m1, PersistenceTypeDescriptionMember m2)
Compares the two given objects (object1 and object2) depending on the implementation.int
hash(PersistenceTypeDescriptionMember member)
-
Constructor Details
-
IdentityHashEqualator
public IdentityHashEqualator()
-
-
Method Details
-
hash
- Specified by:
hash
in interfaceHashEqualator<PersistenceTypeDescriptionMember>
- Specified by:
hash
in interfaceHasher<PersistenceTypeDescriptionMember>
-
equal
public final boolean equal(PersistenceTypeDescriptionMember m1, PersistenceTypeDescriptionMember m2)Description copied from interface:Equalator
Compares the two given objects (object1 and object2) depending on the implementation.- Specified by:
equal
in interfaceEqualator<PersistenceTypeDescriptionMember>
- Specified by:
equal
in interfaceHashEqualator<PersistenceTypeDescriptionMember>
- Parameters:
m1
- as first object to check equality onm2
- as second object to check equality on- Returns:
true
if object1 equals object2,false
if not.
-