Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for depthFirstPreOrder (0.16 sec)

  1. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.depthFirstPreOrder('c'), "cdab");
        assertEqualCharNodes(traverser.depthFirstPreOrder('d'), "dabc");
      }
    
      @Test
      public void forGraph_depthFirstPreOrderIterable_cycle() {
        Traverser<Character> traverser = Traverser.forGraph(CYCLE_GRAPH);
        assertEqualCharNodes(traverser.depthFirstPreOrder(charactersOf("a")), "abcd");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.depthFirstPreOrder('c'), "cdab");
        assertEqualCharNodes(traverser.depthFirstPreOrder('d'), "dabc");
      }
    
      @Test
      public void forGraph_depthFirstPreOrderIterable_cycle() {
        Traverser<Character> traverser = Traverser.forGraph(CYCLE_GRAPH);
        assertEqualCharNodes(traverser.depthFirstPreOrder(charactersOf("a")), "abcd");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeTraverser.java

       * is in progress or when the iterators generated by {@link #children} are advanced.
       *
       * @deprecated Use {@link com.google.common.graph.Traverser#depthFirstPreOrder} instead, which has
       *     the same behavior.
       */
      @Deprecated
      public final FluentIterable<T> preOrderTraversal(final T root) {
        checkNotNull(root);
        return new FluentIterable<T>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/Files.java

       * a directory, no exception will be thrown and the returned {@link Iterable} will contain a
       * single element: that file.
       *
       * <p>Example: {@code Files.fileTraverser().depthFirstPreOrder(new File("/"))} may return files
       * with the following paths: {@code ["/", "/etc", "/etc/config.txt", "/etc/fonts", "/home",
       * "/home/alice", ...]}
       *
       * @since 23.5
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/Files.java

       * a directory, no exception will be thrown and the returned {@link Iterable} will contain a
       * single element: that file.
       *
       * <p>Example: {@code Files.fileTraverser().depthFirstPreOrder(new File("/"))} may return files
       * with the following paths: {@code ["/", "/etc", "/etc/config.txt", "/etc/fonts", "/home",
       * "/home/alice", ...]}
       *
       * @since 23.5
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MoreFiles.java

       * created by this traverser if an {@link IOException} is thrown by a call to {@link
       * #listFiles(Path)}.
       *
       * <p>Example: {@code MoreFiles.fileTraverser().depthFirstPreOrder(Paths.get("/"))} may return the
       * following paths: {@code ["/", "/etc", "/etc/config.txt", "/etc/fonts", "/home", "/home/alice",
       * ...]}
       *
       * @since 23.5
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/MoreFiles.java

       * created by this traverser if an {@link IOException} is thrown by a call to {@link
       * #listFiles(Path)}.
       *
       * <p>Example: {@code MoreFiles.fileTraverser().depthFirstPreOrder(Paths.get("/"))} may return the
       * following paths: {@code ["/", "/etc", "/etc/config.txt", "/etc/fonts", "/home", "/home/alice",
       * ...]}
       *
       * @since 23.5
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top