Class SortStatusFlags

java.lang.Object
org.dlese.dpc.schemedit.config.SortStatusFlags
All Implemented Interfaces:
Comparator

public class SortStatusFlags extends Object implements 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 Details

    • SortStatusFlags

      public SortStatusFlags()
  • Method Details

    • compare

      public int compare(Object o1, Object o2)
      Provide comparison for sorting StatusFlag by their label property
      Specified by:
      compare in interface Comparator
      Parameters:
      o1 - StatusFlag 1
      o2 - StatusFlag 2
      Returns:
      DESCRIPTION