java.lang.Object
com.pjsofts.eurobudget.util.CategoryComparator
- All Implemented Interfaces:
- java.util.Comparator, java.io.Serializable
- public class CategoryComparator
- extends java.lang.Object
- implements java.io.Serializable, java.util.Comparator
|
Constructor Summary |
CategoryComparator()
Creates a new instance of CategoryComparator,
required for serialization |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CategoryComparator
public CategoryComparator()
- Creates a new instance of CategoryComparator,
required for serialization
compare
public int compare(java.lang.Object obj,
java.lang.Object obj1)
- Depenses cames before revenues, then alphabetical order on their name
- Specified by:
compare in interface java.util.Comparator