|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.xqhs.graphs.graph.NodeAlphaComparator
public class NodeAlphaComparator
A simple Comparator
class for Node
instances, that also supports comparison of NodeP
instances by generic index.
Sorts labeled nodes lexicographically and generic nodes (if both arguments are NodeP
instances) by increasing
generic index.
Constructor Summary | |
---|---|
NodeAlphaComparator()
|
Method Summary | |
---|---|
int |
compare(Node n0,
Node n1)
|
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 |
Constructor Detail |
---|
public NodeAlphaComparator()
Method Detail |
---|
public int compare(Node n0, Node n1)
compare
in interface java.util.Comparator<Node>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |