|
Treeviz 0.37 2010-10-17 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.randelshofer.tree.circlemap.CircleDistanceComparator
public class CircleDistanceComparator
Compares two circles by their distance to the origin (0,0) of the coordinate system.
| Constructor Summary | |
|---|---|
CircleDistanceComparator(double cx,
double cy)
|
|
| Method Summary | |
|---|---|
int |
compare(Circle c1,
Circle c2)
|
| 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 |
|---|
public CircleDistanceComparator(double cx,
double cy)
| Method Detail |
|---|
public int compare(Circle c1,
Circle c2)
compare in interface java.util.Comparator<Circle>
|
Copyright 2007-2008 (c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||