- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for IdentityHashMap (0.36 sec)
-
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* * @param <K> the key type of {@link IdentityHashMap} * @param <V> the value type of {@link IdentityHashMap} * @return a new instance of {@link IdentityHashMap} * @see IdentityHashMap#IdentityHashMap() */ public static <K, V> IdentityHashMap<K, V> newIdentityHashMap() { return new IdentityHashMap<>(); } /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/Maps.java
* @param value the value to be added to the <code>Map</code> * @return a {@literal Maps} for constructing a {@link IdentityHashMap} with the specified key and value */ public static <KEY, VALUE> Maps<KEY, VALUE> identityHashMap(final KEY key, final VALUE value) { return new Maps<>(new IdentityHashMap<KEY, VALUE>()).$(key, value); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 7.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java
} } private TransferListenerAdapter(ArtifactTransferListener listener) { this.listener = listener; this.artifacts = new IdentityHashMap<>(); this.transfers = new IdentityHashMap<>(); } @Override public void debug(String message) {} @Override public void transferCompleted(TransferEvent transferEvent) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
import com.google.common.collect.ImmutableMapEntry.NonTerminalImmutableMapEntry; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.Serializable; import java.util.IdentityHashMap; import java.util.function.BiConsumer; import org.jspecify.annotations.Nullable; /** * Implementation of {@link ImmutableMap} used for 0 entries and for 2+ entries. AdditionalRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (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.<E, Boolean>newIdentityHashMap()); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (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; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (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 Closeable { private final DeferredCloser closer = new DeferredCloser(this); private volatile boolean closed;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 97.8K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 98.1K bytes - Viewed (0)