QJCC homepage

biz.chitec.quarterback.util
Class NumberComparator

java.lang.Object
  extended bybiz.chitec.quarterback.util.NumberComparator
All Implemented Interfaces:
java.util.Comparator

public class NumberComparator
extends java.lang.Object
implements java.util.Comparator

Comparator class for Number objects.

Version:
$Id: 169f2d2b00abb14c15bd2336de3c995f6c45e725 $
Author:
cantamen/Dirk Hillbrecht 2004. Distributed under the terms of the GNU LGPL.

Constructor Summary
NumberComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compares two Number objects.
 boolean equals(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberComparator

public NumberComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Compares two Number objects.

Specified by:
compare in interface java.util.Comparator

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Comparator

QJCC homepage