Interface BinaryIdentityResolver
-
- All Known Implementing Classes:
BinaryAbstractIdentityResolver,BinaryArrayIdentityResolver
public interface BinaryIdentityResolverInterface to compute hash codes for new binary objects and compare them for equality.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(@Nullable BinaryObject o1, @Nullable BinaryObject o2)Compare two binary objects for equality.inthashCode(BinaryObject obj)Compute hash code for binary object.
-
-
-
Method Detail
-
hashCode
int hashCode(BinaryObject obj)
Compute hash code for binary object.- Parameters:
obj- Binary object.- Returns:
- Hash code value.
-
equals
boolean equals(@Nullable @Nullable BinaryObject o1, @Nullable @Nullable BinaryObject o2)Compare two binary objects for equality.- Parameters:
o1- First object.o2- Second object.- Returns:
Trueif both objects are equal.
-
-