Package algs21
Class XSortCards2.RankFirstComparator
java.lang.Object
algs21.XSortCards2.RankFirstComparator
- All Implemented Interfaces:
Comparator<XCard>
- Enclosing class:
XSortCards2
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
RankFirstComparator
private RankFirstComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<XCard>
-