Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 447 for supplied (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/base/MoreObjects.java

       * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for
       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@link Objects#requireNonNullElse} instead. For lazy evaluation of
       * the fallback, use {@link Objects#requireNonNullElseGet Objects.requireNonNullElseGet(first, ()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/DistroTestPlugin.java

    import java.io.File;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.function.Supplier;
    import java.util.stream.Stream;
    
    import static org.elasticsearch.gradle.distribution.ElasticsearchDistributionTypes.ARCHIVE;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 28 21:31:21 GMT 2021
    - 23.1K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin.logging;
    
    /**
     * This interface supplies the API for providing feedback to the user from the <code>Mojo</code>, using standard
     * <code>Maven</code> channels.<br>
     * There should be no big surprises here, although you may notice that the methods accept
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        @Keep
        public <T extends FromTo<String, Integer> & Supplier<Long>> void checkArray(T f, String s) {
          calledWith(f, s);
        }
    
        void check() {
          runTester();
          FromTo<?, ?> defaultFunction = (FromTo<?, ?>) getDefaultParameterValue(0);
          assertEquals(0, defaultFunction.apply(null));
          Supplier<?> defaultSupplier = (Supplier<?>) defaultFunction;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 47.9K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    
        try {
          future.get();
          Assert.fail("This call was supposed to throw an ExecutionException");
        } catch (ExecutionException expected) {
          Assert.assertSame(expectedCause, expected.getCause());
        }
      }
    
      public void assertTimeout() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

    import java.util.Map;
    
    import org.apache.maven.api.Constants;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Centralized class for Maven Core feature information.
     * Features configured are supposed to be final in a given maven session.
     *
     * @since 4.0.0
     */
    public final class Features {
    
        private Features() {}
    
        /**
         * Check if the personality is "maven3".
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 31 11:36:12 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheMetadata.java

     * Implementations can specify how long cached data should be retained.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface CacheMetadata {
    
        /**
         * Returns the cache retention that should be applied to the associated data.
         *
         * @return The CacheRetention indicating how long data should be retained, or null if
         *         no specific cache retention is defined
         */
        @Nullable
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

      }
    
      Logger get() {
        /*
         * We use double-checked locking. We could the try racy single-check idiom, but that would
         * depend on Logger to not contain mutable state.
         *
         * We could use Suppliers.memoizingSupplier here, but I micro-optimized to this implementation
         * to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the
         * indirection.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. .github/PULL_REQUEST_TEMPLATE

    + We do not use Signed-off-by lines in Go. Please don't add them.
      Our Gerrit server & GitHub bots enforce CLA compliance instead.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Feb 21 02:07:46 GMT 2018
    - 1.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/StandardTable.java

     * @author Jared Levy
     */
    @GwtCompatible
    class StandardTable<R, C, V> extends AbstractTable<R, C, V> implements Serializable {
      final Map<R, Map<C, V>> backingMap;
      final Supplier<? extends Map<C, V>> factory;
    
      StandardTable(Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) {
        this.backingMap = backingMap;
        this.factory = factory;
      }
    
      // Accessors
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
Back to Top