org.dlese.dpc.schemedit.security.util
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:
- Serialized Form
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 |
CollectionLabelValueSorter
public CollectionLabelValueSorter()
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 DOCUMENTEDo2
- NOT YET DOCUMENTED
- Returns:
- NOT YET DOCUMENTED