public static class AstNode.PositionComparator extends Object implements Comparator<AstNode>, Serializable
| Constructor and Description |
|---|
AstNode.PositionComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(AstNode n1,
AstNode n2)
Sorts nodes by (relative) start position.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(AstNode n1, AstNode n2)
compare in interface Comparator<AstNode>