Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 862 for supply (0.05 seconds)

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

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

      public boolean containsKey(@Nullable Object key) {
        if (unfiltered.containsKey(key)) {
          @SuppressWarnings("unchecked") // k is equal to a K, if not one itself
          K k = (K) key;
          return keyPredicate.apply(k);
        }
        return false;
      }
    
      @Override
      public Collection<V> removeAll(@Nullable Object key) {
        return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java

        static <T> QueryOp<T> create(
            String name, BiConsumer<T, Object> queryLambda, IntToDoubleFunction asymptotic) {
          return new QueryOp<T>() {
            @Override
            void apply(T collection, Object query) {
              queryLambda.accept(collection, query);
            }
    
            @Override
            double expectedAsymptotic(int n) {
              return asymptotic.applyAsDouble(n);
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

         *
         * @param context the upgrade context
         * @param pomMap map of all POM files in the project (domtrip Documents)
         * @return the result of the upgrade operation
         */
        UpgradeResult apply(UpgradeContext context, Map<Path, Document> pomMap);
    
        /**
         * Checks if this strategy is applicable given the current options.
         *
         * @param context the upgrade context
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

            for (T input : inputs) {
              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              accum = collector.combiner().apply(accum, newAccum);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators right-to-left. */
        MERGE_RIGHT_ASSOCIATIVE {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Maps.java

            K k = (K) key;
            return function.apply(k);
          } else {
            return defaultValue;
          }
        }
    
        @Override
        public @Nullable V remove(@Nullable Object key) {
          if (backingSet().remove(key)) {
            @SuppressWarnings("unchecked") // unsafe, but Javadoc warns about it
            K k = (K) key;
            return function.apply(k);
          } else {
            return null;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/InternersTest.java

        Function<String, String> internerFunction =
            Interners.asFunction(Interners.<String>newStrongInterner());
    
        assertThat(internerFunction.apply(canonical)).isSameInstanceAs(canonical);
        assertThat(internerFunction.apply(not)).isSameInstanceAs(canonical);
      }
    
      public void testNullPointerExceptions() {
        new NullPointerTester().testAllPublicStaticMethods(Interners.class);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. benchmarks/build.gradle

     * 2.0 and the Server Side Public License, v 1; you may not use this file except
     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    
    apply plugin: 'elasticsearch.java'
    apply plugin: 'application'
    mainClassName = 'org.openjdk.jmh.Main'
    
    tasks.named("assemble").configure { enabled = false }
    archivesBaseName = 'elasticsearch-benchmarks'
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 22:04:23 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/SimpleCommandLineArgumentProvider.java

    package org.elasticsearch.gradle.internal.test;
    
    import org.gradle.process.CommandLineArgumentProvider;
    
    import java.util.Arrays;
    import java.util.List;
    
    /**
     * A {@link CommandLineArgumentProvider} implementation that simply returns the given list. This implementation does not track any
     * arguments as inputs, so this is useful for passing arguments that should not be used for the purposes of input snapshotting.
     */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/InternersTest.java

        Function<String, String> internerFunction =
            Interners.asFunction(Interners.<String>newStrongInterner());
    
        assertThat(internerFunction.apply(canonical)).isSameInstanceAs(canonical);
        assertThat(internerFunction.apply(not)).isSameInstanceAs(canonical);
      }
    
      public void testNullPointerExceptions() {
        new NullPointerTester().testAllPublicStaticMethods(Interners.class);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

        ListenableFuture<? extends V> doFallback(
            AsyncFunction<? super X, ? extends V> fallback, X cause) throws Exception {
          ListenableFuture<? extends V> output = fallback.apply(cause);
          checkNotNull(
              output,
              "AsyncFunction.apply returned null instead of a Future. "
                  + "Did you mean to return immediateFuture(null)? %s",
              fallback);
          return output;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 11 18:28:58 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top