- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for MapEntry (0.05 sec)
-
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 Sep 05 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/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K 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/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) -
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 Sep 05 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/MapInterfaceTest.java
} catch (UnsupportedOperationException e) { return; } map.put(null, unmappedValue); Entry<@Nullable K, V> entry = mapEntry(null, unmappedValue); assertTrue(entrySet.contains(entry)); Entry<@Nullable K, @Nullable V> nonEntry = mapEntry(null, null); assertFalse(entrySet.contains(nonEntry)); } public void testEntrySetContainsEntryNullKeyMissing() { Map<K, V> map;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
CollectorTester.of(collector, equivalence) .expectCollects( ImmutableMap.of(AnEnum.A, 1, AnEnum.B, 4, AnEnum.C, 3), mapEntry(AnEnum.A, 1), mapEntry(AnEnum.B, 2), mapEntry(AnEnum.C, 3), mapEntry(AnEnum.B, 2)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K 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 Sep 05 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0)