Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.pjsofts.eurobudget.util
Class CategoryComparator  view CategoryComparator download CategoryComparator.java

java.lang.Object
  extended bycom.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
 
Method Summary
 int compare(java.lang.Object obj, java.lang.Object obj1)
          Depenses cames before revenues, then alphabetical order on their name
 
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

CategoryComparator

public CategoryComparator()
Creates a new instance of CategoryComparator, required for serialization

Method Detail

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