DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.security.util
Class CollectionLabelValueSorter

java.lang.Object
  extended by 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:
Serialized Form

Constructor Summary
CollectionLabelValueSorter()
           
 
Method Summary
 int compare(Object o1, Object o2)
          Compare the labels of the provided LabelValueBeans.
 
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

CollectionLabelValueSorter

public CollectionLabelValueSorter()
Method Detail

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

DLESE Tools
v1.6.0