- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 176 for heatmap (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testAbsent() { assertEquals( "Map.merge(absent, value, function) should return value", v3(), getMap() .merge( k3(), v3(), (oldV, newV) -> { throw new AssertionFailedError(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") @ElementTypesAreNonnullByDefault public class ConcurrentMapPutIfAbsentTester<K, V> extends AbstractMapTester<K, V> { @Override protected ConcurrentMap<K, V> getMap() { return (ConcurrentMap<K, V>) super.getMap(); } @MapFeature.Require(SUPPORTS_PUT) public void testPutIfAbsent_supportedAbsent() { assertNull("putIfAbsent(notPresent, value) should return null", putIfAbsent(e3()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapHeadMapInclusiveMapInterfaceTest.java
extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> { @Override protected SortedMap<String, Integer> makePopulatedMap() { return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).headMap("c", true); } @Override protected String getKeyNotInPopulatedMap() { return "d"; } @Override protected Integer getValueNotInPopulatedMap() { return 4; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 17 01:34:55 UTC 2022 - 1.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java
assertTrue("containsKey(present) should return true", getMap().containsKey(k0())); } public void testContains_no() { assertFalse("containsKey(notPresent) should return false", getMap().containsKey(k3())); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testContains_nullNotContainedButAllowed() { assertFalse("containsKey(null) should return false", getMap().containsKey(null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
extends AbstractContainerTester<Map<K, V>, Entry<K, V>> { protected Map<K, V> getMap() { return container; } @Override protected Collection<Entry<K, V>> actualContents() { return getMap().entrySet(); } /** @see AbstractContainerTester#resetContainer() */ protected final void resetMap() { resetContainer(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java
public class ConcurrentMapReplaceTester<K, V> extends AbstractMapTester<K, V> { @Override protected ConcurrentMap<K, V> getMap() { return (ConcurrentMap<K, V>) super.getMap(); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresent() { assertEquals(v0(), getMap().replace(k0(), v3())); expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/StandardRowSortedTable.java
@Override public R lastKey() { return sortedBackingMap().lastKey(); } @Override public SortedMap<R, Map<C, V>> headMap(R toKey) { checkNotNull(toKey); return new StandardRowSortedTable<R, C, V>(sortedBackingMap().headMap(toKey), factory) .rowMap(); } @Override public SortedMap<R, Map<C, V>> subMap(R fromKey, R toKey) { checkNotNull(fromKey);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 15 15:41:16 UTC 2021 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java
public class MapClearTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_REMOVE) public void testClear() { getMap().clear(); assertTrue("After clear(), a map should be empty.", getMap().isEmpty()); assertEquals(0, getMap().size()); assertFalse(getMap().entrySet().iterator().hasNext()); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java
public void testClearClearsInverse() { BiMap<V, K> inv = getMap().inverse(); getMap().clear(); assertTrue(getMap().isEmpty()); assertTrue(inv.isEmpty()); } @MapFeature.Require(SUPPORTS_REMOVE) public void testKeySetClearClearsInverse() { BiMap<V, K> inv = getMap().inverse(); getMap().keySet().clear(); assertTrue(getMap().isEmpty()); assertTrue(inv.isEmpty()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java
public void testClearClearsInverse() { BiMap<V, K> inv = getMap().inverse(); getMap().clear(); assertTrue(getMap().isEmpty()); assertTrue(inv.isEmpty()); } @MapFeature.Require(SUPPORTS_REMOVE) public void testKeySetClearClearsInverse() { BiMap<V, K> inv = getMap().inverse(); getMap().keySet().clear(); assertTrue(getMap().isEmpty()); assertTrue(inv.isEmpty()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.5K bytes - Viewed (0)