- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for forTree_breadthFirst_tree (0.14 seconds)
-
android/guava-tests/test/com/google/common/graph/TraverserTest.java
Traverser.forTree(fixedSuccessors(Iterables.cycle(1, 2, 3))).breadthFirst(0); assertThat(Iterables.limit(result, 8)).containsExactly(0, 1, 2, 3, 1, 2, 3, 1).inOrder(); } @Test public void forTree_breadthFirst_tree() throws Exception { Traverser<Character> traverser = Traverser.forTree(TREE); assertEqualCharNodes(traverser.breadthFirst('h'), "hdegabcf"); assertEqualCharNodes(traverser.breadthFirst('d'), "dabc");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 47.4K bytes - Click Count (0)