Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 13 of 13 for ImmutableEnumMap (0.08 seconds)

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

            return this;
          } else {
            other.map.forEach(this::put);
            return this;
          }
        }
    
        ImmutableMap<K, V> toImmutableMap() {
          return (map == null) ? ImmutableMap.of() : ImmutableEnumMap.asImmutable(map);
        }
      }
    
      @GwtIncompatible
      static <T extends @Nullable Object, K extends Comparable<? super K>, V>
          Collector<T, ?, ImmutableRangeMap<K, V>> toImmutableRangeMap(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/CollectCollectors.java

            return this;
          } else {
            other.map.forEach(this::put);
            return this;
          }
        }
    
        ImmutableMap<K, V> toImmutableMap() {
          return (map == null) ? ImmutableMap.of() : ImmutableEnumMap.asImmutable(map);
        }
      }
    
      @GwtIncompatible
      static <T extends @Nullable Object, K extends Comparable<? super K>, V>
          Collector<T, ?, ImmutableRangeMap<K, V>> toImmutableRangeMap(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          @SuppressWarnings({"unchecked", "rawtypes"})
          // immutable collections are safe for covariant casts
          // and getting the generics right for EnumMap is difficult to impossible
          ImmutableMap<K, V> result = ImmutableEnumMap.asImmutable(new EnumMap(enumMap));
          return result;
        }
    
        int size = map.size();
        switch (size) {
          case 0:
            return of();
          case 1:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
Back to Top