- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CompactLinkedHashMap (0.06 sec)
-
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
@GwtIncompatible // not worth using in GWT for now final class CompactLinkedHashMap<K extends @Nullable Object, V extends @Nullable Object> extends CompactHashMap<K, V> { // TODO(lowasser): implement removeEldestEntry so this can be used as a drop-in replacement /** Creates an empty {@code CompactLinkedHashMap} instance. */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactLinkedHashMap<K, V> create() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
Map<Integer, String> map = CompactLinkedHashMap.create(); map.put(1, "a"); map.put(4, "b"); map.put(3, "d"); map.put(2, "c"); map.remove(2); testHasMapEntriesInOrder(map, 1, "a", 4, "b", 3, "d"); } public void testTrimToSize() { CompactLinkedHashMap<Integer, String> map = CompactLinkedHashMap.createWithExpectedSize(100); map.put(1, "a");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
Map<Integer, String> map = CompactLinkedHashMap.create(); map.put(1, "a"); map.put(4, "b"); map.put(3, "d"); map.put(2, "c"); map.remove(2); testHasMapEntriesInOrder(map, 1, "a", 4, "b", 3, "d"); } public void testTrimToSize() { CompactLinkedHashMap<Integer, String> map = CompactLinkedHashMap.createWithExpectedSize(100); map.put(1, "a");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
* table. */ static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) { return CompactLinkedHashMap.createWithExpectedSize(expectedSize); } /** Returns the platform preferred implementation of a set based on a hash table. */ static <E extends @Nullable Object> Set<E> newHashSetWithExpectedSize(int expectedSize) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0)