- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CompactHashMap (0.05 sec)
-
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
CompactHashMap<Integer, String> map = CompactHashMap.create(); map.put(1, "1"); Entry<Integer, String> entry = getOnlyElement(map.entrySet()); map.remove(1); entry.setValue("one"); assertThat(map).containsEntry(1, "one"); } public void testAllocArraysDefault() { CompactHashMap<Integer, String> map = CompactHashMap.create();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 5.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactHashMapFloodingTest.java
@GwtIncompatible @NullUnmarked public class CompactHashMapFloodingTest extends AbstractHashFloodingTest<Map<Object, Object>> { public CompactHashMapFloodingTest() { super( ImmutableList.of(Construction.mapFromKeys(CompactHashMap::create)), n -> n * log(n), ImmutableList.of(QueryOp.MAP_GET)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
/** Returns the platform preferred implementation of a map based on a hash table. */ static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> newHashMapWithExpectedSize(int expectedSize) { return CompactHashMap.createWithExpectedSize(expectedSize); } /** * Returns the platform preferred implementation of an insertion ordered map based on a hash * table. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
this.successor = null; return result; } /* * For discussion of the safety of the following methods for operating on predecessors and * successors, see the comments near the end of CompactHashMap, noting that the methods here call * requirePredecessors() and requireSuccessors(), which are defined at the end of this file. */ private int getPredecessor(int entry) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 9.4K bytes - Viewed (0)