org.dlese.dpc.schemedit.dcs
Class DcsSetInfo.NumWorkingComparator
java.lang.Object
   org.dlese.dpc.schemedit.dcs.DcsSetInfo.NumWorkingComparator
org.dlese.dpc.schemedit.dcs.DcsSetInfo.NumWorkingComparator
- All Implemented Interfaces: 
- Comparator
- Enclosing class:
- DcsSetInfo
- public static class DcsSetInfo.NumWorkingComparator 
- extends Object- implements Comparator
Implements Comparator to enable sorting by numWorking.
- Author:
- John Weatherley
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
DcsSetInfo.NumWorkingComparator
public DcsSetInfo.NumWorkingComparator()
compare
public int compare(Object O1,
                   Object O2)
            throws ClassCastException
- Campares the numWorking field.
 
- 
- Specified by:
- comparein interface- Comparator
 
- 
- Parameters:
- O1- A DcsSetInfo Object
- O2- A DcsSetInfo Object
- Returns:
- A negative integer, zero, or a positive
      integer as the first argument is less than, equal to, or greater than
      the second.
- Throws:
- ClassCastException- If Object is not DcsSetInfo