FileDocCategorySizeDatePackage
TaxIdComparator.javaAPI DocExample1081Sun Dec 14 22:47:32 GMT 2003oreilly.hcj.collections

TaxIdComparator

public class TaxIdComparator extends Object implements Comparator
Compares Person objects based upon tax id.
author
Robert (Kraythe) Simmons jr.
see
oreilly.hcj.bankdata.Person

Fields Summary
Constructors Summary
Methods Summary
public intcompare(java.lang.Object x, java.lang.Object y)

see
java.util.Comparator#compare(java.lang.Object, java.lang.Object)

		return ((Person)x).getTaxID()
		        .compareTo(((Person)y).getTaxID());