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

Quick Search    Search Deep

riso.approximation
Class IntervalComparator  view IntervalComparator download IntervalComparator.java

java.lang.Object
  extended byriso.approximation.IntervalComparator
All Implemented Interfaces:
riso.general.Comparator

public class IntervalComparator
extends java.lang.Object
implements riso.general.Comparator

Helper class to make it possible to sort lists of intervals.


Constructor Summary
IntervalComparator()
           
 
Method Summary
 boolean greater(java.lang.Object a, java.lang.Object b)
          Returns true if the left endpoint of a is greater than the left endpoint of b.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntervalComparator

public IntervalComparator()
Method Detail

greater

public boolean greater(java.lang.Object a,
                       java.lang.Object b)
Returns true if the left endpoint of a is greater than the left endpoint of b.

Specified by:
greater in interface riso.general.Comparator