Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for IdentityHashMap (0.2 sec)

  1. guava/src/com/google/common/util/concurrent/ServiceManager.java

        @GuardedBy("monitor")
        final Multiset<State> states = servicesByState.keys();
    
        @GuardedBy("monitor")
        final IdentityHashMap<Service, Stopwatch> startupTimers = new IdentityHashMap<>();
    
        /**
         * These two booleans are used to mark the state as ready to start.
         *
         * <p>{@link #ready}: is set by {@link #markReady} to indicate that all listeners have been
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K 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());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                CollectionFeature.SERIALIZABLE,
                CollectionSize.ANY)
            .suppressing(suppressForConcurrentSkipListMap())
            .createTestSuite();
      }
    
      // TODO: IdentityHashMap, AbstractMap
    
      private static Map<String, String> toHashMap(Entry<String, String>[] entries) {
        return populate(new HashMap<String, String>(), entries);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                CollectionFeature.SERIALIZABLE,
                CollectionSize.ANY)
            .suppressing(suppressForConcurrentSkipListMap())
            .createTestSuite();
      }
    
      // TODO: IdentityHashMap, AbstractMap
    
      private static Map<String, String> toHashMap(Entry<String, String>[] entries) {
        return populate(new HashMap<String, String>(), entries);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractBiMap.java

    /**
     * A general-purpose bimap implementation using any two backing {@code Map} instances.
     *
     * <p>Note that this class contains {@code equals()} calls that keep it from supporting {@code
     * IdentityHashMap} backing maps.
     *
     * @author Kevin Bourrillion
     * @author Mike Bostock
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

       * syntax</a>.
       *
       * @return a new, empty {@code IdentityHashMap}
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          IdentityHashMap<K, V> newIdentityHashMap() {
        return new IdentityHashMap<>();
      }
    
      /**
       * Computes the difference between two maps. This difference is an immutable snapshot of the state
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

       * syntax</a>.
       *
       * @return a new, empty {@code IdentityHashMap}
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          IdentityHashMap<K, V> newIdentityHashMap() {
        return new IdentityHashMap<>();
      }
    
      /**
       * Computes the difference between two maps. This difference is an immutable snapshot of the state
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  8. android/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.time.Duration;
    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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  9. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  10. 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.time.Duration;
    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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top