- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for testPutAll (0.03 sec)
-
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
assertThat(m.get("2"), is(nullValue())); assertThat(m.getAt(0), is("d")); } /** * @throws Exception */ @Test public void testPutAll() throws Exception { Map<String, String> m = new HashMap<String, String>(); m.put("3", "test3"); m.put("4", "test4"); map.putAll(m); assertThat(map.get("3"), is("test3"));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(2, 8); cache.invalidateAll(); assertEquals(2, stats[0]); assertEquals(2, stats[1]); assertEquals(4, stats[2]); assertEquals(3, stats[3]); } public void testPutAll() { Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build(); cache.putAll(ImmutableMap.of(10, 20, 30, 50, 60, 90)); assertEquals(Integer.valueOf(20), cache.getIfPresent(10));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
boolean mightContain = bf.mightContain(value); boolean put = bf.put(value); assertTrue(mightContain != put); } } } public void testPutAll() { int element1 = 1; int element2 = 2; BloomFilter<Integer> bf1 = BloomFilter.create(Funnels.integerFunnel(), 100); bf1.put(element1); assertTrue(bf1.mightContain(element1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 30K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
boolean mightContain = bf.mightContain(value); boolean put = bf.put(value); assertTrue(mightContain != put); } } } public void testPutAll() { int element1 = 1; int element2 = 2; BloomFilter<Integer> bf1 = BloomFilter.create(Funnels.integerFunnel(), 100); bf1.put(element1); assertTrue(bf1.mightContain(element1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0)