Package org.dlese.dpc.schemedit.config
Class SortStatusFlags
java.lang.Object
org.dlese.dpc.schemedit.config.SortStatusFlags
- All Implemented Interfaces:
Comparator
Comparator to sort
StatusFlag
instances natural order of their "label" property. - Author:
- Jonathan Ostwald $Id: SortStatusFlags.java,v 1.3 2009/03/20 23:33:56 jweather Exp $
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SortStatusFlags
public SortStatusFlags()
-
-
Method Details
-
compare
Provide comparison for sorting StatusFlag by their label property- Specified by:
comparein interfaceComparator- Parameters:
o1- StatusFlag 1o2- StatusFlag 2- Returns:
- DESCRIPTION
-