- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SingletonImmutableBiMap (0.09 sec)
-
guava/src/com/google/common/collect/SingletonImmutableBiMap.java
@SuppressWarnings("serial") // uses writeReplace(), not default serialization @ElementTypesAreNonnullByDefault final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> { final transient K singleKey; final transient V singleValue; SingletonImmutableBiMap(K singleKey, V singleValue) { checkEntryNotNull(singleKey, singleValue); this.singleKey = singleKey; this.singleValue = singleValue;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY; } public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) { checkEntryNotNull(k1, v1); return new SingletonImmutableBiMap<K, V>(k1, v1); } public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) { return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 7.1K bytes - Viewed (0)