Class StatusBarPhaseDisplay.CommandComparator
java.lang.Object
megamek.client.ui.panels.phaseDisplay.StatusBarPhaseDisplay.CommandComparator
- All Implemented Interfaces:
Comparator<StatusBarPhaseDisplay.PhaseCommand>
- Enclosing class:
StatusBarPhaseDisplay
public static class StatusBarPhaseDisplay.CommandComparator
extends Object
implements Comparator<StatusBarPhaseDisplay.PhaseCommand>
Comparator for comparing the priority of two commands, used to determine button order.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
CommandComparator
public CommandComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<StatusBarPhaseDisplay.PhaseCommand>
-