Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Supplier (0.16 sec)

  1. android/guava/src/com/google/common/collect/Multimaps.java

              java.util.function.Supplier<M> multimapSupplier) {
        return CollectCollectors.<T, K, V, M>toMultimap(keyFunction, valueFunction, multimapSupplier);
      }
    
      /**
       * Returns a {@code Collector} accumulating entries into a {@code Multimap} generated from the
       * specified supplier. Each input element is mapped to a key and a stream of values, each of which
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilder.java

       *
       * - lambda: Outside Google, we got a report of a similar problem in
       *   https://github.com/google/guava/issues/6565
       */
      @SuppressWarnings("AnonymousToLambda")
      static final Supplier<StatsCounter> CACHE_STATS_COUNTER =
          new Supplier<StatsCounter>() {
            @Override
            public StatsCounter get() {
              return new SimpleStatsCounter();
            }
          };
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      private static <A extends @Nullable Object> void genericTestToImmutableEnumSetReused(
          Collector<SomeEnum, A, ImmutableSet<SomeEnum>> collector) {
        A accumulator = collector.supplier().get();
        BiConsumer<A, SomeEnum> adder = collector.accumulator();
        adder.accept(accumulator, SomeEnum.A);
        adder.accept(accumulator, SomeEnum.B);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Preconditions.java

       * string of size {@code size}, and are in order. A position index may range from zero to {@code
       * size}, inclusive.
       *
       * @param start a user-supplied index identifying a starting position in an array, list or string
       * @param end a user-supplied index identifying an ending position in an array, list or string
       * @param size the size of that array, list or string
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          }
        }
    
        /**
         * Throws UnsupportedOperationException. A future version may support this operation. Then the
         * value for any given key will be the one that was last supplied in a {@code put} operation for
         * that key.
         *
         * @throws UnsupportedOperationException always
         * @since 31.1
         * @deprecated This method is not currently implemented, and may never be.
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        }
        return false;
      }
    
      /**
       * Sets the result of this {@code Future} to match the supplied input {@code Future} once the
       * supplied {@code Future} is done, unless this {@code Future} has already been cancelled or set
       * (including "set asynchronously," defined below).
       *
       * <p>If the supplied future is {@linkplain #isDone done} when this method is called and the call
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

          }
        }
    
        /**
         * Throws UnsupportedOperationException. A future version may support this operation. Then the
         * value for any given key will be the one that was last supplied in a {@code put} operation for
         * that key.
         *
         * @throws UnsupportedOperationException always
         * @since 31.1
         * @deprecated This method is not currently implemented, and may never be.
         */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterators.java

          }
    
          @Override
          public void remove() {
            iterator.remove();
          }
        };
      }
    
      /**
       * Returns a view of the supplied {@code iterator} that removes each element from the supplied
       * {@code iterator} as it is returned.
       *
       * <p>The provided iterator must support {@link Iterator#remove()} or else the returned iterator
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Preconditions.java

       * string of size {@code size}, and are in order. A position index may range from zero to {@code
       * size}, inclusive.
       *
       * @param start a user-supplied index identifying a starting position in an array, list or string
       * @param end a user-supplied index identifying an ending position in an array, list or string
       * @param size the size of that array, list or string
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

              },
              executor);
        }
      }
    
      /**
       * Returns a {@code ListenableFuture} whose result is set from the supplied future when it
       * completes. Cancelling the supplied future will also cancel the returned future, but cancelling
       * the returned future will have no effect on the supplied future.
       *
       * @since 15.0
       */
      public static <V extends @Nullable Object> ListenableFuture<V> nonCancellationPropagating(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top