- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for immutableEnumMap (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/collect/ImmutableMap.java
checkEntryNotNull(entry.getKey(), entry.getValue()); } ImmutableMap<?, ? extends V> untypedResult = ImmutableEnumMap.asImmutable(clone); /* * The result has the same type argument we started with. We just couldn't express EnumMap<K, * ...> or ImmutableEnumMap<K, ...> along the way because our own <K> isn't <K extends * Enum<K>>. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0) -
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) -
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) -
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)