Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for toImmutableMap (0.04 sec)

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

            (ms1, ms2) -> {
              ms1.addAll(ms2);
              return ms1;
            });
      }
    
      // Maps
    
      static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap(
          Function<? super T, ? extends K> keyFunction,
          Function<? super T, ? extends V> valueFunction) {
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        return Collector.of(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableBiMap.java

          Collector<T, ?, ImmutableMap<K, V>> toImmutableMap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. This method does not make sense for {@code BiMap}. This method exists only to
       * hide {@link ImmutableMap#toImmutableMap(Function, Function, BinaryOperator)} from consumers of
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableBiMap.java

          Collector<T, ?, ImmutableMap<K, V>> toImmutableMap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. This method does not make sense for {@code BiMap}. This method exists only to
       * hide {@link ImmutableMap#toImmutableMap(Function, Function, BinaryOperator)} from consumers of
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/FluentIterable.java

       * which result will be mapped to that key in the returned map.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.collect(ImmutableMap.toImmutableMap(k -> k,
       * valueFunction))}.
       *
       * @throws NullPointerException if any element of this iterable is {@code null}, or if {@code
       *     valueFunction} produces {@code null} for any key
       * @since 14.0
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 34.7K bytes
    - Viewed (0)
Back to top