Package org.chenile.owiz.impl
Class OrderedCommandDesc
java.lang.Object
org.chenile.owiz.impl.OrderedCommandDesc
- All Implemented Interfaces:
Comparable<OrderedCommandDesc>
Internal class used to preserve the order of execution of commands.
-
Field Summary
Modifier and TypeFieldDescriptionprivate CommandDescriptor<?>
private int
This class is needed to ensure that the commands are retrieved in the correct order -
Constructor Summary
ConstructorDescriptionOrderedCommandDesc
(int index, CommandDescriptor<?> command) OrderedCommandDesc
(String indx, CommandDescriptor<?> command) -
Method Summary
-
Field Details
-
index
private int indexThis class is needed to ensure that the commands are retrieved in the correct order -
command
-
-
Constructor Details
-
OrderedCommandDesc
-
OrderedCommandDesc
-
-
Method Details
-
getCommandDescriptor
-
compareTo
- Specified by:
compareTo
in interfaceComparable<OrderedCommandDesc>
-
toString
-