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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
collator
-
-
Constructor Details
-
TopNodeSort
private TopNodeSort()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Node>
-
toKey
-