- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 71 for MapEntry (0.71 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
assertEquals(getNumElements() - 1, multimap().size()); } @CollectionSize.Require(SEVERAL) @MapFeature.Require(SUPPORTS_PUT) public void testAsMapEntrySetReflectsPutSameKey() { resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v3())); Set<Entry<K, Collection<V>>> asMapEntrySet = multimap().asMap().entrySet(); Collection<V> valueCollection = getOnlyElement(asMapEntrySet).getValue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
@Override public SampleElements<Entry<AnEnum, String>> samples() { return new SampleElements<>( mapEntry(AnEnum.A, "January"), mapEntry(AnEnum.B, "February"), mapEntry(AnEnum.C, "March"), mapEntry(AnEnum.D, "April"), mapEntry(AnEnum.E, "May")); } @Override public final Map<AnEnum, String> create(Object... entries) { @SuppressWarnings("unchecked")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java
expectContents(mapEntry(k1(), v0())); assertEquals(k1(), getMap().inverse().get(v0())); assertEquals(1, getMap().size()); assertFalse(getMap().containsKey(k0())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(SEVERAL) public void testForcePutKeyAndValuePresent() { getMap().forcePut(k0(), v1()); expectContents(mapEntry(k0(), v1()), mapEntry(k2(), v2()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java
@Override public SampleElements<Entry<String, String>> samples() { return new SampleElements<>( mapEntry("one", "January"), mapEntry("two", "February"), mapEntry("three", "March"), mapEntry("four", "April"), mapEntry("five", "May")); } @Override public SampleElements<String> sampleKeys() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
@Override public SampleElements<Entry<String, String>> samples() { return new SampleElements<>( mapEntry("one", "January"), mapEntry("two", "February"), mapEntry("three", "March"), mapEntry("four", "April"), mapEntry("five", "May")); } @Override public SampleElements<String> sampleKeys() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java
@Override public Entry<String, String> belowSamplesLesser() { return mapEntry("!! a", "below view"); } @Override public Entry<String, String> belowSamplesGreater() { return mapEntry("!! b", "below view"); } @Override public Entry<String, String> aboveSamplesLesser() { return mapEntry("~~ a", "above view"); } @Override public Entry<String, String> aboveSamplesGreater() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
return new SampleElements<>( mapEntry(sampleKeys.e0(), createCollection(sampleValues.e0())), mapEntry(sampleKeys.e1(), createCollection(sampleValues.e1())), mapEntry(sampleKeys.e2(), createCollection(sampleValues.e2())), mapEntry(sampleKeys.e3(), createCollection(sampleValues.e3())), mapEntry(sampleKeys.e4(), createCollection(sampleValues.e4()))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java
@MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL) public void testMultimapRemoveDeletesFirstOccurrence() { resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0())); List<V> list = multimap().get(k0()); multimap().remove(k0(), v0()); assertContentsInOrder(list, v1(), v0()); } @MapFeature.Require(SUPPORTS_REMOVE)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
SampleElements<Entry<K, V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) { return new SampleElements<>( mapEntry(keys.e0(), values.e0()), mapEntry(keys.e1(), values.e1()), mapEntry(keys.e2(), values.e2()), mapEntry(keys.e3(), values.e3()), mapEntry(keys.e4(), values.e4())); } public E e0() { return e0; } public E e1() { return e1; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.2K bytes - Viewed (0)