- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for MapEntry (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
} @CollectionSize.Require(SEVERAL) public void testEntrySetEquals() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); Set<Entry<K, Collection<V>>> expected = new HashSet<>(); expected.add(mapEntry(k0(), (Collection<V>) newHashSet(v0(), v3()))); expected.add(mapEntry(k1(), (Collection<V>) newHashSet(v0())));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
} @CollectionSize.Require(SEVERAL) public void testEntrySetEquals() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); Set<Entry<K, Collection<V>>> expected = new HashSet<>(); expected.add(mapEntry(k0(), (Collection<V>) newHashSet(v0(), v3()))); expected.add(mapEntry(k1(), (Collection<V>) newHashSet(v0())));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
} @CollectionSize.Require(SEVERAL) public void testEntrySetEquals() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); Set<Entry<K, Collection<V>>> expected = new HashSet<>(); expected.add(mapEntry(k0(), (Collection<V>) Lists.newArrayList(v0(), v3()))); expected.add(mapEntry(k1(), (Collection<V>) Lists.newArrayList(v0())));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
} @CollectionSize.Require(SEVERAL) public void testEntrySetEquals() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); Set<Entry<K, Collection<V>>> expected = new HashSet<>(); expected.add(mapEntry(k0(), (Collection<V>) Lists.newArrayList(v0(), v3()))); expected.add(mapEntry(k1(), (Collection<V>) Lists.newArrayList(v0())));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java
expectMissing(mapEntry(k0(), v0())); assertEquals(getNumElements() - 1, multimap().size()); assertFalse(multimap().containsEntry(k0(), v0())); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllPropagatesToMultimap() { assertTrue(multimap().entries().removeAll(singleton(mapEntry(k0(), v0()))));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(ImmutableMap.of(AnEnum.C, "c", AnEnum.A, "a", AnEnum.E, "e")); assertThat(map.entrySet()) .containsExactly(mapEntry(AnEnum.A, "a"), mapEntry(AnEnum.C, "c"), mapEntry(AnEnum.E, "e")) .inOrder(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
assertThat(map.entrySet()) .containsExactly(mapEntry("one", 3), mapEntry("three", 5), mapEntry("two", 3)) .inOrder(); assertThat(map.tailMap("onea").entrySet()) .containsExactly(mapEntry("three", 5), mapEntry("two", 3)) .inOrder(); assertThat(map.subMap("one", "two").entrySet()) .containsExactly(mapEntry("one", 3), mapEntry("three", 5)) .inOrder(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
@Override public SampleElements<Entry<String, Integer>> samples() { return new SampleElements<>( mapEntry("foo", 5), mapEntry("bar", 3), mapEntry("baz", 17), mapEntry("quux", 1), mapEntry("toaster", -2)); } @SuppressWarnings("unchecked") @Override public Entry<String, Integer>[] createArray(int length) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
return new SampleElements<>( mapEntry("x", 1), mapEntry("xxx", 3), mapEntry("xx", 2), mapEntry("xxxx", 4), mapEntry("aaaaa", 5)); } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
@Override public SampleElements<Entry<String, Integer>> samples() { return new SampleElements<>( mapEntry("foo", 5), mapEntry("bar", 3), mapEntry("baz", 17), mapEntry("quux", 1), mapEntry("toaster", -2)); } @SuppressWarnings("unchecked") @Override public Entry<String, Integer>[] createArray(int length) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0)