Home
last modified time | relevance | path

Searched refs:depthFirstPreOrder (Results 1 – 10 of 10) sorted by relevance

/external/guava/guava-tests/test/com/google/common/graph/
DTraverserTest.java361 Iterable<Character> result = Traverser.forGraph(JAVADOC_GRAPH).depthFirstPreOrder('a'); in forGraph_depthFirstPreOrder_javadocExample_canBeIteratedMultipleTimes()
370 Traverser.forGraph(JAVADOC_GRAPH).depthFirstPreOrder(charactersOf("bc")); in forGraph_depthFirstPreOrderIterable_javadocExample_canBeIteratedMultipleTimes()
379 assertEqualCharNodes(traverser.depthFirstPreOrder('a'), "abdc"); in forGraph_depthFirstPreOrder_diamond()
380 assertEqualCharNodes(traverser.depthFirstPreOrder('b'), "bd"); in forGraph_depthFirstPreOrder_diamond()
381 assertEqualCharNodes(traverser.depthFirstPreOrder('c'), "cd"); in forGraph_depthFirstPreOrder_diamond()
382 assertEqualCharNodes(traverser.depthFirstPreOrder('d'), "d"); in forGraph_depthFirstPreOrder_diamond()
388 assertEqualCharNodes(traverser.depthFirstPreOrder(charactersOf("")), ""); in forGraph_depthFirstPreOrderIterable_diamond()
389 assertEqualCharNodes(traverser.depthFirstPreOrder(charactersOf("bc")), "bdc"); in forGraph_depthFirstPreOrderIterable_diamond()
390 assertEqualCharNodes(traverser.depthFirstPreOrder(charactersOf("a")), "abdc"); in forGraph_depthFirstPreOrderIterable_diamond()
391 assertEqualCharNodes(traverser.depthFirstPreOrder(charactersOf("acdb")), "abdc"); in forGraph_depthFirstPreOrderIterable_diamond()
[all …]
/external/guava/android/guava-tests/test/com/google/common/graph/
DTraverserTest.java361 Iterable<Character> result = Traverser.forGraph(JAVADOC_GRAPH).depthFirstPreOrder('a'); in forGraph_depthFirstPreOrder_javadocExample_canBeIteratedMultipleTimes()
370 Traverser.forGraph(JAVADOC_GRAPH).depthFirstPreOrder(charactersOf("bc")); in forGraph_depthFirstPreOrderIterable_javadocExample_canBeIteratedMultipleTimes()
379 assertEqualCharNodes(traverser.depthFirstPreOrder('a'), "abdc"); in forGraph_depthFirstPreOrder_diamond()
380 assertEqualCharNodes(traverser.depthFirstPreOrder('b'), "bd"); in forGraph_depthFirstPreOrder_diamond()
381 assertEqualCharNodes(traverser.depthFirstPreOrder('c'), "cd"); in forGraph_depthFirstPreOrder_diamond()
382 assertEqualCharNodes(traverser.depthFirstPreOrder('d'), "d"); in forGraph_depthFirstPreOrder_diamond()
388 assertEqualCharNodes(traverser.depthFirstPreOrder(charactersOf("")), ""); in forGraph_depthFirstPreOrderIterable_diamond()
389 assertEqualCharNodes(traverser.depthFirstPreOrder(charactersOf("bc")), "bdc"); in forGraph_depthFirstPreOrderIterable_diamond()
390 assertEqualCharNodes(traverser.depthFirstPreOrder(charactersOf("a")), "abdc"); in forGraph_depthFirstPreOrderIterable_diamond()
391 assertEqualCharNodes(traverser.depthFirstPreOrder(charactersOf("acdb")), "abdc"); in forGraph_depthFirstPreOrderIterable_diamond()
[all …]
/external/guava/guava/src/com/google/common/graph/
DTraverser.java256 public abstract Iterable<N> depthFirstPreOrder(N startNode); in depthFirstPreOrder() method in Traverser
268 public abstract Iterable<N> depthFirstPreOrder(Iterable<? extends N> startNodes); in depthFirstPreOrder() method in Traverser
349 public Iterable<N> depthFirstPreOrder(final N startNode) { in depthFirstPreOrder() method
351 return depthFirstPreOrder(ImmutableSet.of(startNode)); in depthFirstPreOrder()
355 public Iterable<N> depthFirstPreOrder(final Iterable<? extends N> startNodes) { in depthFirstPreOrder() method
515 public Iterable<N> depthFirstPreOrder(final N startNode) {
517 return depthFirstPreOrder(ImmutableSet.of(startNode));
521 public Iterable<N> depthFirstPreOrder(final Iterable<? extends N> startNodes) {
/external/guava/android/guava/src/com/google/common/graph/
DTraverser.java256 public abstract Iterable<N> depthFirstPreOrder(N startNode); in depthFirstPreOrder() method in Traverser
268 public abstract Iterable<N> depthFirstPreOrder(Iterable<? extends N> startNodes); in depthFirstPreOrder() method in Traverser
349 public Iterable<N> depthFirstPreOrder(final N startNode) { in depthFirstPreOrder() method
351 return depthFirstPreOrder(ImmutableSet.of(startNode)); in depthFirstPreOrder()
355 public Iterable<N> depthFirstPreOrder(final Iterable<? extends N> startNodes) { in depthFirstPreOrder() method
515 public Iterable<N> depthFirstPreOrder(final N startNode) {
517 return depthFirstPreOrder(ImmutableSet.of(startNode));
521 public Iterable<N> depthFirstPreOrder(final Iterable<? extends N> startNodes) {
/external/guava/refactorings/
DTraverserRewrite.java49 return Traverser.forTree((N node) -> getChildren(node)).depthFirstPreOrder(root); in after()
/external/dagger2/java/dagger/internal/codegen/
DBindingGraph.java186 return FluentIterable.from(SUBGRAPH_TRAVERSER.depthFirstPreOrder(this)) in componentDescriptors()
DModuleDescriptor.java175 .depthFirstPreOrder(transform(modules, this::create))); in transitiveModules()
DValidationReport.java67 return ImmutableSet.copyOf(SUBREPORTS.depthFirstPreOrder(this)); in allReports()
/external/guava/android/guava-tests/test/com/google/common/reflect/
DClassPathTest.java523 for (File entry : Files.fileTraverser().depthFirstPreOrder(root)) { in scanDirectory()
/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java589 for (File entry : Files.fileTraverser().depthFirstPreOrder(root)) { in scanDirectory()