Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 157 for Suppliers (0.2 seconds)

  1. src/main/java/org/codelibs/fess/helper/SystemHelper.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.function.Supplier;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import org.apache.commons.lang3.LocaleUtils;
    import org.apache.commons.lang3.StringUtils;
    import org.apache.logging.log4j.Level;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/CharSink.java

    /**
     * A destination to which characters can be written, such as a text file. Unlike a {@link Writer}, a
     * {@code CharSink} is not an open, stateful stream that can be written to and closed. Instead, it
     * is an immutable <i>supplier</i> of {@code Writer} instances.
     *
     * <p>{@code CharSink} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a writer:</b> These methods should return a <i>new</i>, independent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/SimpleCircuitBreaker.java

        }
    
        /**
         * Execute a callable through the circuit breaker with fallback
         *
         * @param <T> return type
         * @param callable the callable to execute
         * @param fallback fallback supplier if circuit is open
         * @return the result or fallback value
         * @throws Exception if execution fails and no fallback provided
         */
        public <T> T call(Callable<T> callable, Callable<T> fallback) throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            final Supplier<String> pathSupplier = () -> {
                final boolean parallel = false;
                return StreamSupport.stream(((Iterable<ActivationFrame>) stk::descendingIterator).spliterator(), parallel)
                        .map(f -> f.location)
                        .collect(Collectors.joining("."));
            };
            final Supplier<InputLocation> locationSupplier = () -> {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java

                    () -> new GradleException(
                        "Environment variable '"
                            + javaHomeEnvVar
                            + "' is not registered with Gradle installation supplier. Ensure 'org.gradle.java.installations.fromEnv' is "
                            + "updated in gradle.properties file."
                    )
                );
    
            String versionedJavaHome = System.getenv(javaHomeEnvVar);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 17 10:02:58 GMT 2021
    - 18.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

    import java.util.Collections;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.UUID;
    import java.util.function.Supplier;
    
    import org.apache.commons.lang3.ArrayUtils;
    import org.apache.commons.lang3.StringUtils;
    import org.apache.commons.text.StringEscapeUtils;
    import org.apache.logging.log4j.LogManager;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import java.util.regex.MatchResult;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Supplies an arbitrary "default" instance for a wide range of types, often useful in testing
     * utilities.
     *
     * <p>Covers arrays, enums and common types defined in {@code java.lang}, {@code java.lang.reflect},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/StatsTesting.java

      /**
       * Returns a stream of a million primitive doubles. The stream is parallel, which should cause
       * {@code collect} calls to run in multithreaded mode, so testing the combiner as well as the
       * supplier and accumulator.
       */
      static DoubleStream megaPrimitiveDoubleStream() {
        return DoubleStream.iterate(0.0, x -> x + 1.0).limit(MEGA_STREAM_COUNT).parallel();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Stream;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Supplies an arbitrary "default" instance for a wide range of types, often useful in testing
     * utilities.
     *
     * <p>Covers arrays, enums and common types defined in {@code java.lang}, {@code java.lang.reflect},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An unbounded {@linkplain BlockingQueue blocking queue} that uses the same ordering rules as class
     * {@link PriorityQueue} and supplies blocking retrieval operations. While this queue is logically
     * unbounded, attempted additions may fail due to resource exhaustion (causing {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 19K bytes
    - Click Count (0)
Back to Top