org.metasyntactic.graphics.utilities
Class IntersectionComparator

java.lang.Object
  |
  +--org.metasyntactic.graphics.utilities.IntersectionComparator
All Implemented Interfaces:
java.util.Comparator

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


Constructor Summary
IntersectionComparator(Point start)
          Creates a new instance of PointComparator
 
Method Summary
 int compare(Intersection i1, Intersection i2)
           
 int compare(java.lang.Object obj, java.lang.Object obj1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

IntersectionComparator

public IntersectionComparator(Point start)
Creates a new instance of PointComparator

Method Detail

compare

public int compare(java.lang.Object obj,
                   java.lang.Object obj1)
Specified by:
compare in interface java.util.Comparator

compare

public int compare(Intersection i1,
                   Intersection i2)