- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for ConcurrentMap (0.05 sec)
-
guava/src/com/google/common/collect/ForwardingConcurrentMap.java
* @since 2.0 */ @GwtCompatible public abstract class ForwardingConcurrentMap<K, V> extends ForwardingMap<K, V> implements ConcurrentMap<K, V> { /** Constructor for use by subclasses. */ protected ForwardingConcurrentMap() {} @Override protected abstract ConcurrentMap<K, V> delegate(); @CanIgnoreReturnValue @Override public @Nullable V putIfAbsent(K key, V value) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 16:58:16 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java
import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import java.util.concurrent.ConcurrentMap; import org.jspecify.annotations.NullMarked; import org.junit.Ignore; /** * Tester for {@link ConcurrentMap#remove}. Can't be invoked directly; please see {@link * com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder}. * * @author Louis Wasserman */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public class ConcurrentMapPutIfAbsentTester<K, V> extends AbstractMapTester<K, V> { @Override protected ConcurrentMap<K, V> getMap() { return (ConcurrentMap<K, V>) super.getMap(); } @MapFeature.Require(SUPPORTS_PUT) public void testPutIfAbsent_supportedAbsent() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public class ConcurrentMapReplaceEntryTester<K, V> extends AbstractMapTester<K, V> { @Override protected ConcurrentMap<K, V> getMap() { return (ConcurrentMap<K, V>) super.getMap(); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplaceEntry_supportedPresent() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 5.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public class ConcurrentMapPutIfAbsentTester<K, V> extends AbstractMapTester<K, V> { @Override protected ConcurrentMap<K, V> getMap() { return (ConcurrentMap<K, V>) super.getMap(); } @MapFeature.Require(SUPPORTS_PUT) public void testPutIfAbsent_supportedAbsent() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java
import static com.google.common.base.Preconditions.checkArgument; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; /** * MapMaker emulation. * * @author Charles Fry */ public final class MapMaker { private int initialCapacity = 16; public MapMaker() {} @CanIgnoreReturnValueRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java
* @since 2.0 */ @GwtCompatible public abstract class ForwardingConcurrentMap<K, V> extends ForwardingMap<K, V> implements ConcurrentMap<K, V> { /** Constructor for use by subclasses. */ protected ForwardingConcurrentMap() {} @Override protected abstract ConcurrentMap<K, V> delegate(); @CanIgnoreReturnValue @Override public @Nullable V putIfAbsent(K key, V value) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Feb 18 16:58:16 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java
private static class TestMap extends ForwardingConcurrentMap<String, Integer> { final ConcurrentMap<String, Integer> delegate = new ConcurrentHashMap<>(); @Override protected ConcurrentMap<String, Integer> delegate() { return delegate; } } public void testPutIfAbsent() { TestMap map = new TestMap(); map.put("foo", 1);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public class ConcurrentMapReplaceTester<K, V> extends AbstractMapTester<K, V> { @Override protected ConcurrentMap<K, V> getMap() { return (ConcurrentMap<K, V>) super.getMap(); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresent() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java
import static org.codelibs.core.collection.CollectionsUtil.putIfAbsent; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.concurrent.ConcurrentMap; import org.codelibs.core.beans.BeanDesc; import org.codelibs.core.beans.impl.BeanDescImpl; import org.codelibs.core.misc.DisposableUtil; /** * This class generates {@link BeanDesc}. * <p>Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.8K bytes - Viewed (0)