org.kuali.kfs.gl.businessobject.options
Class OEGIdComparator
java.lang.Object
org.kuali.kfs.gl.businessobject.options.OEGIdComparator
- All Implemented Interfaces:
- Comparator
public class OEGIdComparator
- extends Object
- implements Comparator
A comparator for origin entry groups, based on their group IDs
Method Summary |
int |
compare(Object c1,
Object c2)
Compares two origin entry groups based on their group ids |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OEGIdComparator
public OEGIdComparator()
- Constructs a OEGIdComparator
compare
public int compare(Object c1,
Object c2)
- Compares two origin entry groups based on their group ids
- Specified by:
compare
in interface Comparator
- Parameters:
c1
- the first origin entry group to comparec2
- the second origin entry group to comare
- Returns:
- a negative if c1's group ID is less than c2's; a zero if the group IDs are equal; a positive number otherwise
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.