- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 511 for map (0.12 sec)
-
android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java
import com.google.common.base.Function; import com.google.common.base.Functions; import java.util.Map; /** * Tests for {@link Maps#transformValues(Map, Function)}. * * @author Isaac Shum */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest { @Override protected Map<String, String> makeEmptyMap() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
public void testViewSerialization() { Map<String, Integer> map = ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); SerializableTester.reserializeAndAssert(map.entrySet()); SerializableTester.reserializeAndAssert(map.keySet()); assertEquals( Lists.newArrayList(map.values()), Lists.newArrayList(SerializableTester.reserialize(map.values()))); } @GwtIncompatible // SerializableTester
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
public void testViewSerialization() { Map<String, Integer> map = ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); SerializableTester.reserializeAndAssert(map.entrySet()); SerializableTester.reserializeAndAssert(map.keySet()); assertEquals( Lists.newArrayList(map.values()), Lists.newArrayList(SerializableTester.reserialize(map.values()))); } @GwtIncompatible // SerializableTester
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableRowMapTailMapTest.java
table.put("a", 1, 'a'); return table; } @Override protected Map<String, Map<Integer, Character>> makePopulatedMap() { TreeBasedTable<String, Integer, Character> table = makeTable(); populateTable(table); return table.rowMap().tailMap("b"); } @Override protected Map<String, Map<Integer, Character>> makeEmptyMap() { return makeTable().rowMap().tailMap("b"); } @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
import java.util.ListIterator; import java.util.Map; import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; import org.junit.Ignore; /** * Base class for map testers. * * <p>TODO: see how much of this is actually needed once Map testers are written. (It was cloned * from AbstractCollectionTester.) * * @param <K> the key type of the map to be tested.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapSubMapTest.java
table.put("z", 1, 'a'); return table; } @Override protected Map<String, Map<Integer, Character>> makePopulatedMap() { TreeBasedTable<String, Integer, Character> table = makeTable(); populateTable(table); return table.rowMap().subMap("b", "x"); } @Override protected Map<String, Map<Integer, Character>> makeEmptyMap() { return makeTable().rowMap().subMap("b", "x"); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SetMultimap.java
Set<Entry<K, V>> entries(); /** * {@inheritDoc} * * <p><b>Note:</b> The returned map's values are guaranteed to be of type {@link Set}. To obtain * this map with the more specific generic type {@code Map<K, Set<V>>}, call {@link * Multimaps#asMap(SetMultimap)} instead. */ @Override Map<K, Collection<V>> asMap(); /** * Compares the specified object to this multimap for equality. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 24 17:47:51 GMT 2022 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/Cache.java
* Copies all of the mappings from the specified map to the cache. The effect of this call is * equivalent to that of calling {@code put(k, v)} on this map once for each mapping from key * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined * if the specified map is modified while the operation is in progress. * * @since 12.0 */ void putAll(Map<? extends K, ? extends V> m);
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 7.9K bytes - Viewed (1) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Map; import java.util.Map.Entry; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A map entry which forwards all its method calls to another map entry. Subclasses should override * one or more methods to modify the behavior of the backing map entry as desired per the <a
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Mar 19 19:28:11 GMT 2024 - 4.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
import com.google.common.collect.testing.features.MapFeature; import java.lang.reflect.Method; import java.util.Hashtable; import java.util.Map; import junit.framework.AssertionFailedError; import org.junit.Ignore; /** * A generic JUnit test which tests {@link Map#merge}. Can't be invoked directly; please see {@link * com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 6.5K bytes - Viewed (0)