Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CompactLinkedHashMap (0.07 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top