Package org.javlo.comparator
Class MenuElementPriorityComparator
- java.lang.Object
-
- org.javlo.comparator.MenuElementPriorityComparator
-
- All Implemented Interfaces:
Comparator<MenuElement>
public class MenuElementPriorityComparator extends Object implements Comparator<MenuElement>
- Author:
- pvandermaesen for comparaison of the priority of two menu element.
-
-
Constructor Summary
Constructors Constructor Description MenuElementPriorityComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(MenuElement elem1, MenuElement elem2)
-
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(MenuElement elem1, MenuElement elem2)
- Specified by:
compare
in interfaceComparator<MenuElement>
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
-
-