com.bbn.openmap.geo
Class ConvexHull.PivotAngleComparator

java.lang.Object
  extended by com.bbn.openmap.geo.ConvexHull.PivotAngleComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator
Enclosing class:
ConvexHull

protected static final class ConvexHull.PivotAngleComparator
extends java.lang.Object
implements java.util.Comparator, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ConvexHull.PivotAngleComparator(Geo pivot)
           
 
Method Summary
 int compare(java.lang.Object obj1, java.lang.Object obj2)
           
 boolean equals(java.lang.Object obj)
           
 Geo getPivot()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvexHull.PivotAngleComparator

public ConvexHull.PivotAngleComparator(Geo pivot)
Method Detail

compare

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

getPivot

public Geo getPivot()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details