|
JGraph X 1.4.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mxgraph.layout.hierarchical.stage.mxMedianHybridCrossingReduction.MedianCellSorter
protected class mxMedianHybridCrossingReduction.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 |
mxMedianHybridCrossingReduction.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 mxMedianHybridCrossingReduction.MedianCellSorter()
| Method Detail |
|---|
public int compareTo(Object arg0)
compareTo in interface Comparable<Object>arg0 - the object to be compared to
|
JGraph X 1.4.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||