Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for identityHashMap (0.96 sec)

  1. 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() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates an {@code IdentityHashMap} instance.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code IdentityHashMap} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
       * @return a new, empty {@code IdentityHashMap}
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

      }
    
      /**
       * Creates an {@code IdentityHashMap} instance.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code IdentityHashMap} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
       * @return a new, empty {@code IdentityHashMap}
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        return state.compareAndSet(oldState, newState);
      }
    
      // TODO(dpb): Should we use a pair of ArrayLists instead of an IdentityHashMap?
      private static final class CloseableList extends IdentityHashMap<AutoCloseable, Executor>
          implements Closeable {
        private final DeferredCloser closer = new DeferredCloser(this);
        private volatile boolean closed;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.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;
    
    /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ClosingFuture.java

        return state.compareAndSet(oldState, newState);
      }
    
      // TODO(dpb): Should we use a pair of ArrayLists instead of an IdentityHashMap?
      private static final class CloseableList extends IdentityHashMap<AutoCloseable, Executor>
          implements Closeable {
        private final DeferredCloser closer = new DeferredCloser(this);
        private volatile boolean closed;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
Back to top