com.cyc.tool.subl.util
Class ComparatorIdentityKey<T>
java.lang.Object
com.cyc.tool.subl.util.ComparatorIdentityKey<T>
- All Implemented Interfaces:
- java.util.Comparator<T>
public final class ComparatorIdentityKey<T>
- extends java.lang.Object
- implements java.util.Comparator<T>
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
ComparatorIdentityKey
public ComparatorIdentityKey(BinaryFunction pred)
- Creates a new instance of ComparatorIdentityKey.
compare
public int compare(T o1,
T o2)
- Specified by:
compare
in interface java.util.Comparator<T>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
init
public ComparatorIdentityKey init(BinaryFunction pred)