Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 43 for Traverser (0.06 seconds)

  1. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 47.4K bytes
    - Click Count (2)
  2. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@code TreeTraverser}.
     *
     * @deprecated Use {@link com.google.common.graph.Traverser} instead.
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    @Deprecated // Use com.google.common.graph.Traverser instead.
    public class TreeTraverserTest extends TestCase {
      private static class Node {
        final char value;
    
        Node(char value) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 18:39:06 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/FatArtifactTraverser.java

    import org.eclipse.aether.collection.DependencyTraverser;
    import org.eclipse.aether.graph.Dependency;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A dependency traverser that excludes the dependencies of fat artifacts from the traversal. Fat artifacts are
     * artifacts that have the property {@link MavenArtifactProperties#INCLUDES_DEPENDENCIES} set to
     * {@code true}.
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  5. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  6. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  7. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                throw new MetadataGraphTransformationException(e);
            }
        }
    
        // ===================================================================================================
        /**
         * Helper class to traverse graph. Required to make the containing method thread-safe
         * and yet use class level data to lessen stack usage in recursion
         */
        private class ClasspathGraphVisitor {
            MetadataGraph graph;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

        /**
         * The repository where this artifact has been downloaded from.
         */
        @Nonnull
        Optional<RemoteRepository> getRepository();
    
        /**
         * Traverses this node and potentially its children using the specified visitor.
         *
         * @param visitor the visitor to call back, must not be {@code null}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 14:10:11 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

        }
    
        /**
         * Gets the artifact filter that controls traversal of the dependency graph.
         *
         * @return The filter used to determine which of the artifacts in the dependency graph should be traversed or
         *         {@code null} to collect all transitive dependencies.
         */
        public ArtifactFilter getCollectionFilter() {
            return collectionFilter;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top