- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 83 for containsValue (0.05 sec)
-
guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertThat(segment.containsValue(value)).isTrue(); assertThat(segment.containsValue(dummyValue)).isTrue(); // expired dummy.setAccessTime(ticker.read() - 2); assertThat(segment.get(key, hash)).isNull(); assertThat(segment.containsKey(key, hash)).isFalse(); assertThat(segment.containsValue(value)).isTrue(); assertThat(segment.containsValue(dummyValue)).isFalse(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 117.5K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertThat(segment.containsValue(value)).isTrue(); assertThat(segment.containsValue(dummyValue)).isTrue(); // expired dummy.setAccessTime(ticker.read() - 2); assertThat(segment.get(key, hash)).isNull(); assertThat(segment.containsKey(key, hash)).isFalse(); assertThat(segment.containsValue(value)).isTrue(); assertThat(segment.containsValue(dummyValue)).isFalse(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 115.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
* @param value the value whose presence in this map is to be tested * @return true if this map maps one or more keys to the specified value */ @Override public boolean containsValue(final Object value) { return parent.containsValue(value); } /** * Returns the value to which the specified key is mapped. * * @param key the key whose associated value is to be returnedRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
*/ ALLOWS_NULL_KEY_QUERIES, ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES), /** * The map does not throw {@code NullPointerException} on calls such as {@code * containsValue(null)}, {@code values().contains(null)} or {@code values().remove(null)}. */ ALLOWS_NULL_VALUE_QUERIES, ALLOWS_NULL_VALUES(ALLOWS_NULL_VALUE_QUERIES), /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(2456, 56); cache.put(2, 15); fakeTicker.advance(10001, MILLISECONDS); assertThat(cache.asMap().containsValue(15)).isTrue(); assertThat(cache.asMap().containsValue(56)).isTrue(); assertThat(cache.asMap().containsValue(2675)).isFalse(); } // we are testing our implementation of Map.containsKey @SuppressWarnings("ContainsEntryAfterGetInteger") @Test
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 14.8K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 7.5K bytes - Viewed (0)