Package org.eclipse.jetty.deploy.graph
Class GraphOutputDot.TopNodeSort
java.lang.Object
org.eclipse.jetty.deploy.graph.GraphOutputDot.TopNodeSort
- All Implemented Interfaces:
Comparator<Node>
- Enclosing class:
GraphOutputDot
Comparator that makes the 'undeployed' node the first node in the sort list.
This makes the 'undeployed' node show up at the top of the generated graph.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
collator
-
-
Constructor Details
-
TopNodeSort
private TopNodeSort()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Node>
-
toKey
-