Class ObjectComparator.IdentityComparator<T>
java.lang.Object
org.hsqldb.lib.ObjectComparator.IdentityComparator<T>
- All Implemented Interfaces:
ObjectComparator<T>
- Enclosing interface:
ObjectComparator<T>
public static class ObjectComparator.IdentityComparator<T>
extends Object
implements ObjectComparator<T>
Comparator that uses identity for Object equality.
- Since:
- 2.0
- Author:
- fredt@users
-
Nested Class Summary
Nested classes/interfaces inherited from interface ObjectComparator
ObjectComparator.DefaultComparator<T>, ObjectComparator.IdentityComparator<T> -
Field Summary
Fields inherited from interface ObjectComparator
defaultComparator, identityComparator -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IdentityComparator
public IdentityComparator()
-
-
Method Details
-
equals
- Specified by:
equalsin interfaceObjectComparator<T>
-
hashCode
- Specified by:
hashCodein interfaceObjectComparator<T>
-
longKey
- Specified by:
longKeyin interfaceObjectComparator<T>
-