Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Producers (1.23 sec)

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

       *     keyFunction} on each value in the input collection to that value
       * @throws NullPointerException if any element of {@code values} is {@code null}, or if {@code
       *     keyFunction} produces {@code null} for any key
       */
      public static <K, V> ImmutableListMultimap<K, V> index(
          Iterable<V> values, Function<? super V, K> keyFunction) {
        return index(values.iterator(), keyFunction);
      }
    
    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. android/guava/src/com/google/common/collect/Maps.java

       *     in the input collection to that value
       * @throws IllegalArgumentException if {@code keyFunction} produces the same key for more than one
       *     value in the input collection
       * @throws NullPointerException if any element of {@code values} is {@code null}, or if {@code
       *     keyFunction} produces {@code null} for any value
       */
      @CanIgnoreReturnValue
      public static <K, V> ImmutableMap<K, V> uniqueIndex(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSet.java

       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings({"unchecked"}) // fully variant implementation (never actually produces any Es)
      public static <E> ImmutableSet<E> of() {
        return (ImmutableSet<E>) RegularImmutableSet.EMPTY;
      }
    
      /**
       * Returns an immutable set containing {@code element}. Preferred over {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

       *     is greater than the number of elements remaining in {@code iterator}
       * @return the element at the specified position in {@code iterator} or {@code defaultValue} if
       *     {@code iterator} produces fewer than {@code position + 1} elements.
       * @throws IndexOutOfBoundsException if {@code position} is negative
       * @since 4.0
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T get(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top