Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 46 for traversers (0.06 seconds)

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

            + " GraphBuilder)")
    public abstract class Traverser<N> {
      private final SuccessorsFunction<N> successorFunction;
    
      private Traverser(SuccessorsFunction<N> successorFunction) {
        this.successorFunction = checkNotNull(successorFunction);
      }
    
      /**
       * Creates a new traverser for the given general {@code graph}.
       *
       * <p>Traversers created using this method are guaranteed to visit each node reachable from the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/io/TraversalUtil.java

     */
    public abstract class TraversalUtil {
    
        /**
         * Do not instantiate.
         */
        protected TraversalUtil() {
        }
    
        /** An empty array of {@link Traverser}. */
        protected static final Traverser[] EMPTY_ARRAY = new Traverser[0];
    
        private static final Logger logger = Logger.getLogger(TraversalUtil.class);
    
        /** Mapping from URL protocol (as key) to {@link TraverserFactory} (as value). */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.breadthFirst(charactersOf("acdb")), "acdb");
        assertEqualCharNodes(traverser.breadthFirst(charactersOf("db")), "db");
      }
    
      @Test
      public void forGraph_breadthFirst_multiGraph() {
        Traverser<Character> traverser = Traverser.forGraph(MULTI_GRAPH);
        assertEqualCharNodes(traverser.breadthFirst('a'), "abcd");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

        return checkNotNull(iterable);
      }
    
      /**
       * Returns a fluent iterable that combines two iterables. The returned iterable has an iterator
       * that traverses the elements in {@code a}, followed by the elements in {@code b}. The source
       * iterators are not polled until necessary.
       *
       * <p>The returned iterable's iterator supports {@code remove()} when the corresponding input
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/FluentIterable.java

        return checkNotNull(iterable);
      }
    
      /**
       * Returns a fluent iterable that combines two iterables. The returned iterable has an iterator
       * that traverses the elements in {@code a}, followed by the elements in {@code b}. The source
       * iterators are not polled until necessary.
       *
       * <p>The returned iterable's iterator supports {@code remove()} when the corresponding input
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  6. cmd/admin-heal-ops.go

    	// release lock
    	h.mutex.Unlock()
    
    	return nil
    }
    
    // healSequenceStart - this is the top-level background heal
    // routine. It launches another go-routine that actually traverses
    // on-disk data, checks and heals according to the selected
    // settings. This go-routine itself, (1) monitors the traversal
    // routine for completion, and (2) listens for external stop
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/Graphs.java

       */
      private static <N> Iterable<N> getReachableNodes(
          Graph<N> graph, N node, TransitiveClosureSelfLoopStrategy strategy) {
        Traverser<N> traverser = Traverser.forGraph(graph);
        switch (strategy) {
          case ADD_SELF_LOOPS_ALWAYS: // always include 'node'
            return traverser.breadthFirst(node);
          case ADD_SELF_LOOPS_FOR_CYCLES: // include 'node' iff there's an incident cycle
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/MoreFiles.java

          throw e.getCause();
        }
      }
    
      /**
       * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser
       * starts from a {@link Path} and will return all files and directories it encounters.
       *
       * <p>The returned traverser attempts to avoid following symbolic links to directories. However,
       * the traverser cannot guarantee that it will not follow symbolic links to directories as it is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/Files.java

        int dotIndex = fileName.lastIndexOf('.');
        return (dotIndex == -1) ? fileName : fileName.substring(0, dotIndex);
      }
    
      /**
       * Returns a {@link Traverser} instance for the file and directory tree. The returned traverser
       * starts from a {@link File} and will return all files and directories it encounters.
       *
       * <p><b>Warning:</b> {@code File} provides no support for symbolic links, and as such there is no
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

       * multimap, and vice versa. The entries set does not support the {@code add} or {@code addAll}
       * operations.
       *
       * <p>The iterator generated by the returned set traverses the entries in the order they were
       * added to the multimap.
       *
       * <p>Each entry is an immutable snapshot of a key-value mapping in the multimap, taken at the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
Back to Top