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