Package org.eclipse.jetty.deploy.graph
Class GraphOutputDot.TopNodeSort
- java.lang.Object
-
- org.eclipse.jetty.deploy.graph.GraphOutputDot.TopNodeSort
-
- All Implemented Interfaces:
java.util.Comparator<Node>
- Enclosing class:
- GraphOutputDot
private static class GraphOutputDot.TopNodeSort extends java.lang.Object implements java.util.Comparator<Node>
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 Modifier and Type Field Description private java.text.Collator
collator
-
Constructor Summary
Constructors Modifier Constructor Description private
TopNodeSort()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Node o1, Node o2)
private java.text.CollationKey
toKey(Node node)
-