Package com.github.underscore
Class Underscore.ValueThenKeyComparator<K extends Comparable<? super K>,V extends Comparable<? super V>>
java.lang.Object
com.github.underscore.Underscore.ValueThenKeyComparator<K,V>
- All Implemented Interfaces:
Serializable
,Comparator<Map.Entry<K,
V>>
- Enclosing class:
- Underscore<T>
public static class Underscore.ValueThenKeyComparator<K extends Comparable<? super K>,V extends Comparable<? super V>>
extends Object
implements Comparator<Map.Entry<K,V>>, Serializable
- See Also:
-
Constructor Summary
Constructors -
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
-
ValueThenKeyComparator
public ValueThenKeyComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<K extends Comparable<? super K>>
-