- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 933 for maps (0.2 sec)
-
android/guava-tests/test/com/google/common/collect/MapsSortedTransformValuesTest.java
import java.util.SortedMap; /** * Tests for {@link Maps#transformValues(SortedMap, Function)}. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MapsSortedTransformValuesTest extends AbstractMapsTransformValuesTest { @Override protected SortedMap<String, String> makeEmptyMap() { return Maps.transformValues(Maps.<String, String>newTreeMap(), Functions.<String>identity()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
map.put("bar", 1); map.put("foo", 2); map.put("bar", 3); map.put("bar", 4); assertEquals("[1, 2, 3, 4]", map.values().toString()); map.values().remove(2); assertEquals("{bar=[1, 3, 4]}", map.toString()); } public void testLinkedEntries() { Multimap<String, Integer> map = create(); map.put("bar", 1); map.put("foo", 2); map.put("bar", 3);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 18K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractNavigableMap.java
@CheckForNull public K lowerKey(@ParametricNullness K key) { return Maps.keyOrNull(lowerEntry(key)); } @Override @CheckForNull public K floorKey(@ParametricNullness K key) { return Maps.keyOrNull(floorEntry(key)); } @Override @CheckForNull public K ceilingKey(@ParametricNullness K key) { return Maps.keyOrNull(ceilingEntry(key)); } @Override @CheckForNull
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 15 18:11:44 GMT 2023 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
} public void testTailMapInclusive() { Map<String, Integer> map = ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).tailMap("three", true); assertThat(map.entrySet()) .containsExactly(Maps.immutableEntry("three", 3), Maps.immutableEntry("two", 2)) .inOrder(); } public void testTailMapExclusive() { Map<String, Integer> map =
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 28.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsCollectionTest.java
@Override protected Map<String, String> create(Entry<String, String>[] entries) { Map<String, String> map = Maps.newHashMap(); putEntries(map, entries); map.putAll(ENTRIES_TO_FILTER); map = Maps.filterEntries(map, FILTER_ENTRIES_1); return Maps.filterEntries(map, FILTER_ENTRIES_2); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 32.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractNavigableMap.java
@CheckForNull public K lowerKey(@ParametricNullness K key) { return Maps.keyOrNull(lowerEntry(key)); } @Override @CheckForNull public K floorKey(@ParametricNullness K key) { return Maps.keyOrNull(floorEntry(key)); } @Override @CheckForNull public K ceilingKey(@ParametricNullness K key) { return Maps.keyOrNull(ceilingEntry(key)); } @Override @CheckForNull
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jun 15 18:11:44 GMT 2023 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
.addEqualityGroup(Functions.forMap(map)) .addEqualityGroup(Functions.forMap(map, null)) .addEqualityGroup(Functions.forMap(map, 43)) .testEquals(); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testForMapWithDefault_includeSerializable() { Map<String, Integer> map = Maps.newHashMap(); map.put("One", 1); map.put("Three", 3);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 16K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
.addEqualityGroup(Functions.forMap(map)) .addEqualityGroup(Functions.forMap(map, null)) .addEqualityGroup(Functions.forMap(map, 43)) .testEquals(); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testForMapWithDefault_includeSerializable() { Map<String, Integer> map = Maps.newHashMap(); map.put("One", 1); map.put("Three", 3);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 16K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
.containsExactly( Maps.<@Nullable String, Integer>immutableEntry(null, 7), Maps.<@Nullable String, Integer>immutableEntry(null, 3), Maps.<@Nullable String, Integer>immutableEntry(null, 1), Maps.<String, @Nullable Integer>immutableEntry("tree", null), Maps.immutableEntry("tree", 0), Maps.immutableEntry("google", 6),
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
assertFalse(entrySet.remove(Maps.immutableEntry(10, 'X'))); assertTrue(entrySet.remove(Maps.immutableEntry(20, 'X'))); assertFalse(entrySet.remove(Maps.immutableEntry(15, 'X'))); entrySet = row.entrySet(); assertTrue(entrySet.remove(Maps.immutableEntry(10, 'X'))); assertFalse(entrySet.remove(Maps.immutableEntry(20, 'X'))); assertFalse(entrySet.remove(Maps.immutableEntry(15, 'X'))); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 15K bytes - Viewed (0)