Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fly (5.36 sec)

  1. android/guava/src/com/google/common/graph/Traverser.java

       * while iteration is in progress.
       *
       * <p>The returned {@code Iterable} can be iterated over multiple times. Every iterator will
       * compute its next element on the fly. It is thus possible to limit the traversal to a certain
       * number of nodes as follows:
       *
       * <pre>{@code
       * Iterables.limit(Traverser.forGraph(graph).breadthFirst(node), maxNumberOfNodes);
       * }</pre>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> Traverser.forGraph(createDirectedGraph()).breadthFirst('a'));
      }
    
      /**
       * Checks that the elements of the iterable are calculated on the fly. Concretely, that means that
       * {@link SuccessorsFunction#successors(Object)} can only be called for a subset of all nodes.
       */
      @Test
      public void forGraph_breadthFirstIterable_emptyGraph() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> Traverser.forGraph(createDirectedGraph()).breadthFirst('a'));
      }
    
      /**
       * Checks that the elements of the iterable are calculated on the fly. Concretely, that means that
       * {@link SuccessorsFunction#successors(Object)} can only be called for a subset of all nodes.
       */
      @Test
      public void forGraph_breadthFirstIterable_emptyGraph() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
Back to top