- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for breadthFirst (0.05 sec)
-
guava-tests/test/com/google/common/graph/TraverserTest.java
assertEqualCharNodes(traverser.breadthFirst(charactersOf("db")), "db"); } @Test public void forGraph_breadthFirst_multiGraph() { Traverser<Character> traverser = Traverser.forGraph(MULTI_GRAPH); assertEqualCharNodes(traverser.breadthFirst('a'), "abcd"); assertEqualCharNodes(traverser.breadthFirst('b'), "bd");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 17:09:51 UTC 2025 - 47.4K bytes - Viewed (2) -
android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
public void testFileTraverser_emptyDirectory() throws Exception { assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir); } public void testFileTraverser_nonExistingFile() throws Exception { File file = new File(rootDir, "file-that-doesnt-exist"); assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file); } public void testFileTraverser_file() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0)