Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for identityHashMap (1.59 sec)

  1. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        }
    
        /**
         * {@link IdentityHashMap}の新しいインスタンスを作成して返します。
         *
         * @param <K>
         *            {@link IdentityHashMap}のキーの型
         * @param <V>
         *            {@link IdentityHashMap}の値の型
         * @return {@link IdentityHashMap}の新しいインスタンス
         * @see IdentityHashMap#IdentityHashMap()
         */
        public static <K, V> IdentityHashMap<K, V> newIdentityHashMap() {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 53.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       * an element in the set. For example, {@code contains} returns {@code false} when passed an
       * object that equals a set member, but isn't the same instance. This behavior is similar to the
       * way {@code IdentityHashMap} handles key lookups.
       *
       * @since 8.0
       */
      public static <E extends @Nullable Object> Set<E> newIdentityHashSet() {
        return Collections.newSetFromMap(Maps.<E, Boolean>newIdentityHashMap());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

        HashMap<Object, Object> map = Maps.<Object, Object>newLinkedHashMap(original);
        assertEquals(original, map);
      }
    
      // Intentionally using IdentityHashMap to test creation.
      @SuppressWarnings("IdentityHashMapBoxing")
      public void testIdentityHashMap() {
        IdentityHashMap<Integer, Integer> map = Maps.newIdentityHashMap();
        assertEquals(Collections.emptyMap(), map);
      }
    
      public void testConcurrentMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

        HashMap<Object, Object> map = Maps.<Object, Object>newLinkedHashMap(original);
        assertEquals(original, map);
      }
    
      // Intentionally using IdentityHashMap to test creation.
      @SuppressWarnings("IdentityHashMapBoxing")
      public void testIdentityHashMap() {
        IdentityHashMap<Integer, Integer> map = Maps.newIdentityHashMap();
        assertEquals(Collections.emptyMap(), map);
      }
    
      public void testConcurrentMap() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.lang.ref.SoftReference;
    import java.lang.ref.WeakReference;
    import java.util.ConcurrentModificationException;
    import java.util.IdentityHashMap;
    import java.util.Map;
    import java.util.concurrent.TimeUnit;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.annotation.CheckForNull;
    
    /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
Back to top