- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for makeEmptyMap (0.07 sec)
-
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} public void testEqualsForEmptyMap() { Map<K, V> map; try { map = makeEmptyMap(); } catch (UnsupportedOperationException e) { return; } // Explicitly call `equals`; `assertEquals` might return fast assertTrue(map.equals(map)); assertTrue(makeEmptyMap().equals(map)); assertEquals(emptyMap(), map); assertFalse(map.equals(emptySet()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
} public void testEqualsForEmptyMap() { Map<K, V> map; try { map = makeEmptyMap(); } catch (UnsupportedOperationException e) { return; } // Explicitly call `equals`; `assertEquals` might return fast assertTrue(map.equals(map)); assertTrue(makeEmptyMap().equals(map)); assertEquals(emptyMap(), map); assertFalse(map.equals(emptySet()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java
* * @author Isaac Shum */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest { @Override protected Map<String, String> makeEmptyMap() { return transformValues(Maps.<String, String>newHashMap(), Functions.<String>identity()); } @Override protected Map<String, String> makePopulatedMap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TableCollectionTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsSortedTransformValuesTest.java
* @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MapsSortedTransformValuesTest extends AbstractMapsTransformValuesTest { @Override protected SortedMap<String, String> makeEmptyMap() { return transformValues(Maps.<String, String>newTreeMap(), Functions.<String>identity()); } @Override protected SortedMap<String, String> makePopulatedMap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java
* * @author Isaac Shum */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest { @Override protected Map<String, String> makeEmptyMap() { return transformValues(Maps.<String, String>newHashMap(), Functions.<String>identity()); } @Override protected Map<String, String> makePopulatedMap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java
multimap.put("a", -1); multimap.put("a", -3); multimap.put("z", -2); return multimap; } @Override protected Map<String, Collection<Integer>> makeEmptyMap() { return createMultimap().asMap().subMap("e", "p"); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { TreeMultimap<String, Integer> multimap = createMultimap();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
@Override public boolean retainAll(Collection<?> c) { return delegate.entrySet().retainAll(c); } }; } } @Override protected Map<String, String> makeEmptyMap() { Map<String, Integer> underlying = Maps.newHashMap(); return transformValues( new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction()); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.3K bytes - Viewed (0)