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
FieldsModifier and TypeFieldDescriptionprivate CommandDescriptor<?>private intThis class is needed to ensure that the commands are retrieved in the correct order -
Constructor Summary
ConstructorsConstructorDescriptionOrderedCommandDesc(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:
compareToin interfaceComparable<OrderedCommandDesc>
-
toString
-