Class CollectionLabelValueSorter

java.lang.Object
org.dlese.dpc.schemedit.security.util.CollectionLabelValueSorter
All Implemented Interfaces:
Serializable, Comparator

public class CollectionLabelValueSorter extends Object implements Comparator, Serializable
Sort LabelValueBeans representing [collectionName, collectionKey] by the label (collectionName).
Author:
Jonathan Ostwald
See Also:
  • Constructor Details

    • CollectionLabelValueSorter

      public CollectionLabelValueSorter()
  • Method Details

    • compare

      public int compare(Object o1, Object o2)
      Compare the labels of the provided LabelValueBeans.
      Specified by:
      compare in interface Comparator
      Parameters:
      o1 - NOT YET DOCUMENTED
      o2 - NOT YET DOCUMENTED
      Returns:
      NOT YET DOCUMENTED