org.kuali.kfs.module.purap.util
Class PurapAccountingLineComparator

java.lang.Object
  extended by org.kuali.kfs.module.purap.util.PurapAccountingLineComparator
All Implemented Interfaces:
Comparator<AccountingLine>

public class PurapAccountingLineComparator
extends Object
implements Comparator<AccountingLine>


Constructor Summary
PurapAccountingLineComparator()
           
 
Method Summary
 int compare(AccountingLine sal1, AccountingLine sal2)
          Compares two accounting lines based on their account number and object code, in ascending order.
 
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

PurapAccountingLineComparator

public PurapAccountingLineComparator()
Method Detail

compare

public int compare(AccountingLine sal1,
                   AccountingLine sal2)
Compares two accounting lines based on their account number and object code, in ascending order.

Specified by:
compare in interface Comparator<AccountingLine>
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.