Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 442 for consumer (0.05 seconds)

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

       * <p>To get the only element in a single-element {@code Iterable}, consider using {@link
       * #getOnlyElement(Iterable)} or {@link #getOnlyElement(Iterable, Object)} instead.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.findFirst().orElse(defaultValue)}
       *
       * <p><b>Java 21+ users:</b> if {code iterable} is a {@code SequencedCollection} (e.g., any list),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 43.6K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    import java.util.function.Consumer;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import org.apache.maven.InternalErrorException;
    import org.apache.maven.Maven;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/UrlEscapers.java

       * URLs</a>. (<a href="https://url.spec.whatwg.org/#path-state">If the escaper were to leave these
       * characters unescaped, they would be escaped by the consumer at parse time, anyway.</a>)
       * Additionally, the escaper escapes the slash character ("/"). While slashes are acceptable in
       * URL paths, they are considered by the specification to be separators between "path segments."
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            public String toString() {
                return name;
            }
    
            public int value() {
                return value;
            }
        }
    
        @FunctionalInterface
        public interface Consumer {
            void apply(Ansi ansi);
        }
    
        public static boolean isEnabled() {
            return org.apache.maven.jline.MessageUtils.isColorEnabled() && org.jline.jansi.Ansi.isEnabled();
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

              // The cache cannot be written.
            }
          }
        }
    
        return response
      }
    
      /**
       * Returns a new source that writes bytes to [cacheRequest] as they are read by the source
       * consumer. This is careful to discard bytes left over when the stream is closed; otherwise we
       * may never exhaust the source stream and therefore not complete the cached response.
       */
      @Throws(IOException::class)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/Multiset.java

      /**
       * {@inheritDoc}
       *
       * <p>Elements that occur multiple times in the multiset will be passed to the {@code Consumer}
       * correspondingly many times, though not necessarily sequentially.
       */
      @Override
      default void forEach(Consumer<? super E> action) {
        checkNotNull(action);
        entrySet()
            .forEach(
                entry -> {
                  E elem = entry.getElement();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CompactHashMap.java

    import java.util.NoSuchElementException;
    import java.util.Objects;
    import java.util.Set;
    import java.util.Spliterator;
    import java.util.Spliterators;
    import java.util.function.BiConsumer;
    import java.util.function.BiFunction;
    import java.util.function.Consumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * CompactHashMap is an implementation of a Map. All optional operations (put and remove) are
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  8. LICENSE

    included in conveying the object code work.
    
      A "User Product" is either (1) a "consumer product", which means any
    tangible personal property which is normally used for personal, family,
    or household purposes, or (2) anything designed or sold for incorporation
    into a dwelling.  In determining whether a product is a consumer product,
    doubtful cases shall be resolved in favor of coverage.  For a particular
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 33.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/io/CharSource.java

    import java.io.UncheckedIOException;
    import java.io.Writer;
    import java.nio.charset.Charset;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    import java.util.function.Consumer;
    import java.util.stream.Stream;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A readable source of characters, such as a text file. Unlike a {@link Reader}, a {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

             */
            BUILD_EFFECTIVE,
            /**
             * The request is used specifically to parse the POM used as a basis for creating the consumer POM.
             * This POM will not undergo any profile activation.
             */
            BUILD_CONSUMER,
            /**
             * The request is for building a model from a parent POM file from a downloaded artifact.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
Back to Top