- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 20 for IdentityHashMap (0.07 seconds)
-
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); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 17.3K bytes - Click Count (0) -
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.newIdentityHashMap()); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 81.6K bytes - Click Count (0) -
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 abstract class AbstractBiMap<K extends @Nullable Object, V extends @Nullable Object>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 14.3K bytes - Click Count (0) -
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(emptyMap(), map); } public void testConcurrentMap() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 62.7K bytes - Click Count (0) -
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(emptyMap(), map); } public void testConcurrentMap() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 65K bytes - Click Count (0) -
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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 157.6K bytes - Click Count (0) -
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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 163.5K bytes - Click Count (0) -
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 org.jspecify.annotations.Nullable; /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 51.9K bytes - Click Count (0) -
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 org.jspecify.annotations.Nullable; /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 51.6K bytes - Click Count (0) -
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 AutoCloseable { private final DeferredCloser closer = new DeferredCloser(this); private volatile boolean closed;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 13:51:27 GMT 2025 - 96.9K bytes - Click Count (0)