Пример #1
0
 private void markNode(Node node, int level, Edge parent) {
   layerCount = Math.max(layerCount, level);
   node.putWeakly(NODE_INFO, new NodeInfo(level, parent));
 }
Пример #2
0
 protected void setUp() {
   this.n = g.newNodes(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
   this.root = n[0];
   this.path = root.asPath();
 }
Пример #3
0
 private NodeInfo getNodeInfo(Node node) {
   Args.notNull(node);
   return (NodeInfo) node.get(NODE_INFO);
 }