com.opensymphony.workflow.spi.ejb
Class StepComparator

java.lang.Object
  extended by com.opensymphony.workflow.spi.ejb.StepComparator
All Implemented Interfaces:
Comparator

public class StepComparator
extends Object
implements Comparator

Utility class to order steps in a descending order.

Author:
Pat Lightbody

Constructor Summary
StepComparator()
           
 
Method Summary
 int compare(Object o1, Object 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
 

Constructor Detail

StepComparator

public StepComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator

OpenSymphony Workflow Project Page