org.kuali.kfs.gl.businessobject
Class CorrectionChangeGroup.CorrectionGroupLineNumberComparator
java.lang.Object
org.kuali.kfs.gl.businessobject.CorrectionChangeGroup.CorrectionGroupLineNumberComparator
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- CorrectionChangeGroup
public static class CorrectionChangeGroup.CorrectionGroupLineNumberComparator
- extends Object
- implements Comparator
A comparator that compares to GLCP correction change groups based on their group line numbers
within the GLCP document
Method Summary |
int |
compare(Object c1,
Object c2)
Compares two CorrectionChangeGroups based on thier line numbers within a GLCP document |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CorrectionChangeGroup.CorrectionGroupLineNumberComparator
public CorrectionChangeGroup.CorrectionGroupLineNumberComparator()
- Constructs a CorrectionGroupLineNumberComparator instance
compare
public int compare(Object c1,
Object c2)
- Compares two CorrectionChangeGroups based on thier line numbers within a GLCP document
- Specified by:
compare
in interface Comparator
- Parameters:
c1
- a correction change group to comparec2
- another correction change group to compare the first one to
- Returns:
- a negative integer if c1 has a lower line number than c2, 0 if the two line numbers are equal, a positive number if c1 has a greater line number than c2
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.