|
JGraphLayout |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgraph.layout.hierarchical.JGraphMedianHybridCrossingReduction.MedianCellSorter
A utility class used to track cells whilst sorting occurs on the median values. Does not violate (x.compareTo(y)==0) == (x.equals(y))
Field Summary | |
double |
medianValue
The median value of the cell stored |
boolean |
nudge
Whether or not to flip equal median values. |
Constructor Summary | |
protected |
JGraphMedianHybridCrossingReduction.MedianCellSorter()
|
Method Summary | |
int |
compareTo(Object arg0)
comparator on the medianValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public double medianValue
public boolean nudge
Constructor Detail |
protected JGraphMedianHybridCrossingReduction.MedianCellSorter()
Method Detail |
public int compareTo(Object arg0)
compareTo
in interface Comparable
arg0
- the object to be compared to
|
JGraphLayout |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |