- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RegularImmutableBiMap (0.09 sec)
-
guava/src/com/google/common/collect/ImmutableBiMap.java
return RegularImmutableBiMap.fromEntries(entryOf(k1, v1), entryOf(k2, v2)); } /** * Returns an immutable map containing the given entries, in order. * * @throws IllegalArgumentException if duplicate keys or values are added */ public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
for (int i = 0; i < 10; i++) { builder.put(i, i); } Entry<Integer, Integer>[] builderArrayAfterPuts = builder.entries; RegularImmutableBiMap<Integer, Integer> map = (RegularImmutableBiMap<Integer, Integer>) builder.build(); Entry<Integer, Integer>[] mapInternalArray = map.entries; assertSame(builderArray, builderArrayAfterPuts);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.3K bytes - Viewed (0)