- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 78 for containsValue (0.13 sec)
-
android/guava/src/com/google/common/collect/ForwardingMap.java
delegate().clear(); } @Override public boolean containsKey(@CheckForNull Object key) { return delegate().containsKey(key); } @Override public boolean containsValue(@CheckForNull Object value) { return delegate().containsValue(value); } @Override @CheckForNull public V get(@CheckForNull Object key) { return delegate().get(key); } @CanIgnoreReturnValue @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertNull(segment.get(key, hash)); assertFalse(segment.containsKey(key, hash)); assertFalse(segment.containsValue(value)); // count == 1 segment.count++; assertSame(value, segment.get(key, hash)); assertTrue(segment.containsKey(key, hash)); assertTrue(segment.containsValue(value)); // don't see absent values now that count > 0 assertNull(segment.get(new Object(), hash));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 35.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertNull(segment.get(key, hash)); assertFalse(segment.containsKey(key, hash)); assertFalse(segment.containsValue(value)); // count == 1 segment.count++; assertSame(value, segment.get(key, hash)); assertTrue(segment.containsKey(key, hash)); assertTrue(segment.containsValue(value)); // don't see absent values now that count > 0 assertNull(segment.get(new Object(), hash));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 35.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
return delegate.isEmpty(); } public final boolean containsKey(@Nullable Object key) { return Maps.safeContainsKey(delegate, key); } public final boolean containsValue(@Nullable Object value) { return delegate.containsValue(value); } public @Nullable V get(@Nullable Object key) { return (key == null) ? null : Maps.safeGet(delegate, key); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 24 16:03:45 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
public boolean containsKey(Object key) { assertTrue(Thread.holdsLock(mutex)); return super.containsKey(key); } @Override public boolean containsValue(Object value) { assertTrue(Thread.holdsLock(mutex)); return super.containsValue(value); } @Override public @Nullable V get(Object key) { assertTrue(Thread.holdsLock(mutex)); return super.get(key); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
Key key = new Key(1); String value = key.toString(); assertSame(value, cache.getUnchecked(key)); assertTrue(cache.asMap().containsKey(key)); assertTrue(cache.asMap().containsValue(value)); assertEquals(1, cache.size()); } } public void testClear() { for (LoadingCache<Key, String> cache : caches()) { Key key = new Key(1); String value = key.toString();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultimap.java
abstract class AbstractMultimap<K extends @Nullable Object, V extends @Nullable Object> implements Multimap<K, V> { @Override public boolean isEmpty() { return size() == 0; } @Override public boolean containsValue(@CheckForNull Object value) { for (Collection<V> collection : asMap().values()) { if (collection.contains(value)) { return true; } } return false; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 6.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
return delegate.containsKey(checkValid(key)); } catch (NullPointerException | ClassCastException e) { return false; } } @Override public boolean containsValue(Object value) { return delegate.containsValue(value); } @Override public NavigableSet<K> descendingKeySet() { return delegate.descendingKeySet(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 7.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertTrue(segment.containsValue(value)); assertTrue(segment.containsValue(dummyValue)); // expired dummy.setAccessTime(ticker.read() - 2); assertNull(segment.get(key, hash)); assertFalse(segment.containsKey(key, hash)); assertTrue(segment.containsValue(value)); assertFalse(segment.containsValue(dummyValue)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 112.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertTrue(segment.containsValue(value)); assertTrue(segment.containsValue(dummyValue)); // expired dummy.setAccessTime(ticker.read() - 2); assertNull(segment.get(key, hash)); assertFalse(segment.containsKey(key, hash)); assertTrue(segment.containsValue(value)); assertFalse(segment.containsValue(dummyValue)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 110.6K bytes - Viewed (0)