@Test public void testWalkAcceptedTree() throws Exception { StringWriter writer = new StringWriter(); TreeWalker.walkAcceptedTree(db, new TxtPrinter(writer)); assertEquals(Resources.toString(Resources.getResource("traverse/treeAccepted.txt"), Charsets.UTF_8), writer.toString()); writer = new StringWriter(); TreeWalker.walkAcceptedTree(db, genus, null, null, new TxtPrinter(writer)); assertEquals(Resources.toString(Resources.getResource("traverse/treeAcceptedGenus.txt"), Charsets.UTF_8), writer.toString()); }
public static void walkAcceptedTree(GraphDatabaseService db, StartEndHandler ... handler) { walkAcceptedTree(db, null, null, new Meter(), handler); }
TreeWalker { public static void walkAcceptedTree(GraphDatabaseService db, StartEndHandler ... handler) { walkAcceptedTree(db, null, null, new Meter(), handler); } }
TreeWalker { public static void walkAcceptedTree(GraphDatabaseService db, StartEndHandler ... handler) { walkAcceptedTree(db, null, null, new Meter(), handler); }  }
TreeWalker { public static void walkAcceptedTree(GraphDatabaseService db, StartEndHandler ... handler) { walkAcceptedTree(db, null, null, new Meter(), handler); }  static void walkTree(GraphDatabaseService db, boolean inclProParte, StartEndHandler ... handler); static void walkTree(GraphDatabaseService db, boolean inclProParte, @Nullable Node root, @Nullable Rank lowestRank, @Nullable Meter meter, StartEndHandler ... handler); static void walkAcceptedTree(GraphDatabaseService db, StartEndHandler ... handler); static void walkAcceptedTree(GraphDatabaseService db, @Nullable Node root, @Nullable Rank lowestRank, @Nullable Meter meter, StartEndHandler ... handler); }
TreeWalker { public static void walkAcceptedTree(GraphDatabaseService db, StartEndHandler ... handler) { walkAcceptedTree(db, null, null, new Meter(), handler); }  static void walkTree(GraphDatabaseService db, boolean inclProParte, StartEndHandler ... handler); static void walkTree(GraphDatabaseService db, boolean inclProParte, @Nullable Node root, @Nullable Rank lowestRank, @Nullable Meter meter, StartEndHandler ... handler); static void walkAcceptedTree(GraphDatabaseService db, StartEndHandler ... handler); static void walkAcceptedTree(GraphDatabaseService db, @Nullable Node root, @Nullable Rank lowestRank, @Nullable Meter meter, StartEndHandler ... handler);  }