|
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.CircleRadiusComparator
public class CircleRadiusComparator
Compares two circles by the size of their radius.
| Constructor Summary | |
|---|---|
CircleRadiusComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(Circle c1,
Circle c2)
|
static CircleRadiusComparator |
getAscendingInstance()
|
static CircleRadiusComparator |
getDescendingInstance()
|
| 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 CircleRadiusComparator()
| Method Detail |
|---|
public static CircleRadiusComparator getAscendingInstance()
public static CircleRadiusComparator getDescendingInstance()
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 | ||||||||