JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.formulae
Class RealComparator

java.lang.Object
  |
  +--com.klg.jclass.util.formulae.RealComparator
All Implemented Interfaces:
Comparator

public final class RealComparator
extends Object
implements Comparator

A RealComparator compares two real-valued MathValues NOTE: We implement this so that (eventually, if we desire) we can add additional comparators to provide such things as a mechanism for comparison of vectors or complex numbers


Constructor Summary
RealComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 boolean equals(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealComparator

public RealComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator

equals

public boolean equals(Object obj)
Specified by:
equals in interface Comparator
Overrides:
equals in class Object

Copyright © 2004 Quest Software Inc..
All rights reserved.