- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for RegularImmutableMap (0.12 sec)
-
guava/src/com/google/common/collect/RegularImmutableBiMap.java
import static com.google.common.collect.ImmutableMapEntry.createEntryArray; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.collect.RegularImmutableMap.MAX_HASH_BUCKET_LENGTH; import static com.google.common.collect.RegularImmutableMap.checkNoConflictInKeyBucket; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
for (int i = 0; i < 10; i++) { builder.put(i, i); } Object[] builderArrayAfterPuts = builder.alternatingKeysAndValues; RegularImmutableMap<Integer, Integer> map = (RegularImmutableMap<Integer, Integer>) builder.buildOrThrow(); Object[] mapInternalArray = map.alternatingKeysAndValues; assertSame(builderArray, builderArrayAfterPuts);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
import org.jspecify.annotations.Nullable; /** * Implementation of {@code Entry} for {@link ImmutableMap} that adds extra methods to traverse hash * buckets for the key and the value. This allows reuse in {@link RegularImmutableMap} and {@link * RegularImmutableBiMap}, which don't have to recopy the entries created by their {@code Builder} * implementations. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0)