- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 78 for containsValue (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
public boolean isEmpty() { assertTrue(Thread.holdsLock(mutex)); return delegate.isEmpty(); } @Override public boolean containsValue(@Nullable Object value) { assertTrue(Thread.holdsLock(mutex)); return delegate.containsValue(value); } @Override public void clear() { assertTrue(Thread.holdsLock(mutex)); delegate.clear(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
Multimap<String, Integer> multimap = createMultimap(); assertTrue(multimap.containsKey("foo")); assertFalse(multimap.containsKey("cat")); assertTrue(multimap.containsValue(1)); assertFalse(multimap.containsValue(5)); assertTrue(multimap.containsEntry("foo", 1)); assertFalse(multimap.containsEntry("cat", 1)); assertFalse(multimap.containsEntry("foo", 5));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/ParamMap.java
if (parent.containsKey(key)) { return true; } return parent.containsKey(toCamelCase(key)); } @Override public boolean containsValue(final Object value) { return parent.containsValue(value); } @Override public V get(final Object key) { final V value = parent.get(key); if (value != null) { return value; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.3K bytes - Viewed (0) -
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 - 7.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
"Inverse should not contain key " + reversed.getKey(), inv.containsKey(reversed.getKey())); assertFalse( "Inverse should not contain value " + reversed.getValue(), inv.containsValue(reversed.getValue())); /* * TODO(cpovirk): This is a bit stronger than super.expectMissing(), which permits a <key, * someOtherValue> pair. */ assertNull(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/SingletonImmutableBiMap.java
checkNotNull(action).accept(singleKey, singleValue); } @Override public boolean containsKey(@CheckForNull Object key) { return singleKey.equals(key); } @Override public boolean containsValue(@CheckForNull Object value) { return singleValue.equals(value); } @Override boolean isPartialView() { return false; } @Override ImmutableSet<Entry<K, V>> createEntrySet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} } protected void expectMissingValues(V... elements) { for (V element : elements) { assertFalse("Should not contain value " + element, getMap().containsValue(element)); } } /** @return an array of the proper size with {@code null} as the key of the middle element. */ protected Entry<K, V>[] createArrayWithNullKey() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(2456, 56); cache.put(2, 15); fakeTicker.advance(10001, MILLISECONDS); assertTrue(cache.asMap().containsValue(15)); assertTrue(cache.asMap().containsValue(56)); assertFalse(cache.asMap().containsValue(2675)); } public void testAsMap_containsKey() { Cache<Integer, Integer> cache =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java
assertFalse(INSTANCE.containsColumn(1)); } public void testContainsRow() { assertFalse(INSTANCE.containsRow('a')); } public void testContainsValue() { assertFalse(INSTANCE.containsValue("blah")); } public void testRow() { assertEquals(ImmutableMap.of(), INSTANCE.row('a')); } public void testRowKeySet() { assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 3.2K bytes - Viewed (0) -
android/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)