Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for newConcurrentMap (0.06 sec)

  1. guava-tests/test/com/google/common/collect/MapsTest.java

        IdentityHashMap<Integer, Integer> map = Maps.newIdentityHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testConcurrentMap() {
        ConcurrentMap<Integer, Integer> map = Maps.newConcurrentMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testTreeMap() {
        TreeMap<Integer, Integer> map = Maps.newTreeMap();
        assertEquals(emptyMap(), map);
        assertThat(map.comparator()).isNull();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

        return new LinkedHashMap<>(capacity(expectedSize));
      }
    
      /**
       * Creates a new empty {@link ConcurrentHashMap} instance.
       *
       * @since 3.0
       */
      public static <K, V> ConcurrentMap<K, V> newConcurrentMap() {
        return new ConcurrentHashMap<>();
      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeMap} instance using the natural ordering of its
       * elements.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

        return new LinkedHashMap<>(capacity(expectedSize));
      }
    
      /**
       * Creates a new empty {@link ConcurrentHashMap} instance.
       *
       * @since 3.0
       */
      public static <K, V> ConcurrentMap<K, V> newConcurrentMap() {
        return new ConcurrentHashMap<>();
      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeMap} instance using the natural ordering of its
       * elements.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
Back to top