org.eclipse.ocl.examples.standalone
Class HelpCommand.CommandComparator

java.lang.Object
  extended by org.eclipse.ocl.examples.standalone.HelpCommand.CommandComparator
All Implemented Interfaces:
java.util.Comparator<StandaloneCommand>
Enclosing class:
HelpCommand

protected static final class HelpCommand.CommandComparator
extends java.lang.Object
implements java.util.Comparator<StandaloneCommand>


Field Summary
static HelpCommand.CommandComparator INSTANCE
           
 
Constructor Summary
protected HelpCommand.CommandComparator()
           
 
Method Summary
 int compare(StandaloneCommand o1, StandaloneCommand 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
 

Field Detail

INSTANCE

@NonNull
public static final HelpCommand.CommandComparator INSTANCE
Constructor Detail

HelpCommand.CommandComparator

protected HelpCommand.CommandComparator()
Method Detail

compare

public int compare(StandaloneCommand o1,
                   StandaloneCommand o2)
Specified by:
compare in interface java.util.Comparator<StandaloneCommand>