444546474849505152535455
m_visited = true; return(GraphTraversal.CONTINUE); } }; Node n = new BasicNode(); n.setVisited(false); SimpleGraphWalker walker = new SimpleGraphWalker(visitor); assertTrue(walker.visit(n, null) == GraphTraversal.CONTINUE); assertTrue(m_visited);
65666768697071
/** * @see GraphBuilder#buildNode() */ public Node buildNode() { return(new BasicNode()); }