edu.mit.sketch.geom
Class PointYComparator

java.lang.Object
  |
  +--edu.mit.sketch.geom.PointYComparator
All Implemented Interfaces:
Comparator

public class PointYComparator
extends Object
implements Comparator

Comparator


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

Constructor Detail

PointYComparator

public PointYComparator()
The constructor.
Method Detail

compare

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

equals

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