Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toImmutableEnumMap (0.12 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.Maps.toImmutableEnumMap;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CollectCollectors.java

            ImmutableBiMap.Builder::buildOrThrow,
            new Collector.Characteristics[0]);
      }
    
      static <T extends @Nullable Object, K extends Enum<K>, V>
          Collector<T, ?, ImmutableMap<K, V>> toImmutableEnumMap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        return Collector.of(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CollectCollectors.java

            ImmutableBiMap.Builder::buildOrThrow,
            new Collector.Characteristics[0]);
      }
    
      static <T extends @Nullable Object, K extends Enum<K>, V>
          Collector<T, ?, ImmutableMap<K, V>> toImmutableEnumMap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends V> valueFunction) {
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        return Collector.of(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top