Package org.javlo.helper
Class JavaHelper.MapEntriesSortOnValue
- java.lang.Object
-
- org.javlo.helper.JavaHelper.MapEntriesSortOnValue
-
- All Implemented Interfaces:
Comparator<Map.Entry<? extends Comparable,? extends Comparable>>
- Enclosing class:
- JavaHelper
public static class JavaHelper.MapEntriesSortOnValue extends Object implements Comparator<Map.Entry<? extends Comparable,? extends Comparable>>
-
-
Constructor Summary
Constructors Constructor Description MapEntriesSortOnValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Map.Entry<? extends Comparable,? extends Comparable> o1, Map.Entry<? extends Comparable,? extends Comparable> o2)
-
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
-
-
-
-
Method Detail
-
compare
public int compare(Map.Entry<? extends Comparable,? extends Comparable> o1, Map.Entry<? extends Comparable,? extends Comparable> o2)
- Specified by:
compare
in interfaceComparator<Map.Entry<? extends Comparable,? extends Comparable>>
-
-