Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hdabcegf (0.04 sec)

  1. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

            builder.toString().contentEquals(forEachBuilder));
        return builder.toString();
      }
    
      public void testPreOrder() {
        assertThat(iterationOrder(ADAPTER.preOrderTraversal(h))).isEqualTo("hdabcegf");
      }
    
      public void testPostOrder() {
        assertThat(iterationOrder(ADAPTER.postOrderTraversal(h))).isEqualTo("abcdefgh");
      }
    
      public void testBreadthOrder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeTraverser.java

     *
     * <pre>{@code
     *        h
     *      / | \
     *     /  e  \
     *    d       g
     *   /|\      |
     *  / | \     f
     * a  b  c
     * }</pre>
     *
     * <p>can be iterated over in preorder (hdabcegf), postorder (abcdefgh), or breadth-first order
     * (hdegabcf).
     *
     * <p>Null nodes are strictly forbidden.
     *
     * <p>Because this is an abstract class, not an interface, you can't use a lambda expression to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/TraverserTest.java

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

      }
    
      @Test
      public void forGraph_depthFirstPreOrder_tree() throws Exception {
        Traverser<Character> traverser = Traverser.forGraph(TREE);
    
        assertEqualCharNodes(traverser.depthFirstPreOrder('h'), "hdabcegf");
        assertEqualCharNodes(traverser.depthFirstPreOrder('d'), "dabc");
        assertEqualCharNodes(traverser.depthFirstPreOrder('a'), "a");
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
Back to top