- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 192 for ContainsKey (0.26 sec)
-
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
assertFalse(map.containsKey("1")); assertFalse(map.containsKey("2")); assertFalse(map.containsKey("3")); assertEquals(0L, map.get("1")); assertEquals(0L, map.get("2")); assertEquals(0L, map.get("3")); map.putAll(in); assertFalse(map.isEmpty()); assertEquals(3, map.size()); assertTrue(map.containsKey("1")); assertTrue(map.containsKey("2")); assertTrue(map.containsKey("3"));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
assertFalse(map.containsKey("1")); assertFalse(map.containsKey("2")); assertFalse(map.containsKey("3")); assertEquals(0L, map.get("1")); assertEquals(0L, map.get("2")); assertEquals(0L, map.get("3")); map.putAll(in); assertFalse(map.isEmpty()); assertEquals(3, map.size()); assertTrue(map.containsKey("1")); assertTrue(map.containsKey("2")); assertTrue(map.containsKey("3"));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.invalidateAll(); assertFalse(cache.asMap().containsKey(654)); assertFalse(cache.asMap().containsKey(2456)); assertFalse(cache.asMap().containsKey(2)); cache.put(654, 2675); cache.put(2456, 56); cache.put(2, 15); cache.put(1, 3); cache.invalidateAll(ImmutableSet.of(1, 2)); assertFalse(cache.asMap().containsKey(1)); assertFalse(cache.asMap().containsKey(2));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Aug 05 17:21:46 UTC 2022 - 15.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
return; } assertFalse(map.containsKey(unmappedKey)); try { assertFalse(map.containsKey(new IncompatibleKeyType())); } catch (ClassCastException tolerated) { } assertTrue(map.containsKey(map.keySet().iterator().next())); if (allowsNullKeys) { boolean unused = map.containsKey(null); } else { try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 45.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
/** * @throws Exception */ @Test public void testContainsKey() throws Exception { assertThat(map.containsKey("2"), is(true)); assertThat(map.containsKey("3"), is(not(true))); map.put("3", null); assertThat(map.containsKey("3"), is(true)); } /** * @throws Exception */ @Test public void testIndexOf() throws Exception {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
return; } assertFalse(map.containsKey(unmappedKey)); try { assertFalse(map.containsKey(new IncompatibleKeyType())); } catch (ClassCastException tolerated) { } assertTrue(map.containsKey(map.keySet().iterator().next())); if (allowsNullKeys) { boolean unused = map.containsKey(null); } else { try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 45.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMap.java
return delegate().remove(key); } @Override public void clear() { 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
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProvider.java
} } catch (IOException e) { // Should not happen reading from a StringReader throw new UncheckedIOException(e); } if (!defines.containsKey("__GNUC__") && !defines.containsKey("__clang__")) { throw new BrokenResultException(String.format("Could not determine %s metadata: %s produced unexpected output.", compilerType.getDescription(), gccBinary.getName())); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 15 06:39:06 UTC 2024 - 13K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy
withType(this.specialItemClass).containsKey("b") withType(Object).containsKey("a") withType(this.itemClass).containsKey("a") !withType(this.specialItemClass).containsKey("a") !withType(Special).containsKey("a") !withType(String).containsKey("a") withType(Object).containsKey("b") withType(this.itemClass).containsKey("b")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 38.3K bytes - Viewed (0)