Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 442 for consumer (0.06 seconds)

  1. guava/src/com/google/common/collect/RegularImmutableBiMap.java

    import com.google.j2objc.annotations.RetainedWith;
    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.function.BiConsumer;
    import java.util.function.Consumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Bimap with zero or more mappings.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

          return CollectSpliterators.indexed(size(), SPLITERATOR_CHARACTERISTICS, this::get);
        }
    
        @Override
        public void forEach(Consumer<? super E> consumer) {
          checkNotNull(consumer);
          int n = size();
          for (int i = 0; i < n; i++) {
            consumer.accept(get(i));
          }
        }
    
        @Override
        int copyIntoArray(@Nullable Object[] dst, int offset) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/projects/project-builder/mng-3023/pom.xml

      <name>Maven Integration Test :: MNG-3023</name>
      <description>Test that reactor projects are included in dependency resolution.</description>
    
      <modules>
        <module>dependency</module>
        <module>consumer</module>
      </modules>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnsh;
    
    import java.nio.file.Path;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.function.Consumer;
    
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.cling.invoker.LookupContext;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

          protected E get(int index) {
            return ImmutableList.this.get(index);
          }
        };
      }
    
      @Override
      public void forEach(Consumer<? super E> consumer) {
        checkNotNull(consumer);
        int n = size();
        for (int i = 0; i < n; i++) {
          consumer.accept(get(i));
        }
      }
    
      @Override
      public int indexOf(@Nullable Object object) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      }
    
      /**
       * Invokes {@code consumer} for each value contained in this array, in order.
       *
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      @IgnoreJRERequirement // We rely on users not to call this without library desugaring.
      public void forEach(LongConsumer consumer) {
        checkNotNull(consumer);
        for (int i = start; i < end; i++) {
          consumer.accept(array[i]);
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  7. guava/src/com/google/common/primitives/ImmutableIntArray.java

        return indexOf(target) >= 0;
      }
    
      /**
       * Invokes {@code consumer} for each value contained in this array, in order.
       *
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
      public void forEach(IntConsumer consumer) {
        checkNotNull(consumer);
        for (int i = start; i < end; i++) {
          consumer.accept(array[i]);
        }
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts

     *   classes from the main source set,
     * - the test fixtures are automatically made available to the test classpath.
     *
     * Configures the Project as a test fixtures consumer according to the `testFixtures` extension configuration.
     */
    plugins {
        `java-test-fixtures`
        groovy
        id("gradlebuild.dependency-modules")
        id("gradlebuild.jvm-compile")
    }
    
    jvmCompile {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 14:00:52 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/CharSource.java

       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      /*
       * We have to rely on users not to call this without library desugaring, as NewApi won't flag
       * Consumer creation.
       */
      @IgnoreJRERequirement
      public void forEachLine(Consumer<? super String> action) throws IOException {
        try (Stream<String> lines = lines()) {
          // The lines should be ordered regardless in most cases, but use forEachOrdered to be sure
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                final CommandLine commandLine, final String option, final Consumer<Boolean> setting) {
            if (commandLine.hasOption(option)) {
                setting.accept(false);
            }
        }
    
        private void disableOnPresentOption(
                final CommandLine commandLine, final char option, final Consumer<Boolean> setting) {
            disableOnPresentOption(commandLine, String.valueOf(option), setting);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
Back to Top