- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 359 for EntrySet (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
multimap.putAll("cat", asList(12, 13, 14)); return multimap.asMap().entrySet().iterator(); } @Override protected void verify(List<Entry<String, Collection<Integer>>> elements) { assertEquals(newHashSet(elements), multimap.asMap().entrySet()); } }.test(); } public void testEquals() { new EqualsTester()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
} public void setHeaders(final Map<String, List<String>> headers) { if (headers != null) { final Map<String, List<String>> map = new HashMap<>(); headers.entrySet().stream().filter(e -> e.getKey() != null) .forEach(e -> map.put(e.getKey().toLowerCase(Locale.ROOT), e.getValue())); this.headers = map; } }
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java
resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0())); List<V> expectedValues = copyToList(values); Entry<K, Collection<V>> asMapEntry = multimap().asMap().entrySet().iterator().next(); List<V> asMapValue = (List<V>) asMapEntry.getValue(); asMapValue.remove(i); expectedValues.remove(i); assertGet(k0(), expectedValues); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue())); size++; } assertEquals(expectedSize, size); int size2 = 0; for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) { size2 += entry2.getValue().size(); } assertEquals(expectedSize, size2); } @CollectionSize.Require(ZERO) public void testIsEmptyYes() { assertTrue(multimap().isEmpty()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java
.add(plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion() + ":" + goal))))); return goals.entrySet().stream() .collect(Collectors.toMap(Map.Entry::getKey, e -> new LifecyclePhase(String.join(",", e.getValue())))); } public Map<String, LifecyclePhase> getDefaultLifecyclePhases() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
public SortedMultiset<E> descendingMultiset() { return new StandardDescendingMultiset() { @Override Iterator<Entry<E>> entryIterator() { return backingMultiset.descendingMultiset().entrySet().iterator(); } }; } @Override public NavigableSet<E> elementSet() { return new StandardElementSet(); } @Override public Entry<E> firstEntry() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
} public void testEquals_list() { assertFalse( "A List should never equal a Map.", getMap().equals(copyToList(getMap().entrySet()))); } private static <K, V> Map<K, V> newHashMap( Collection<? extends Entry<? extends K, ? extends V>> entries) { HashMap<K, V> map = new HashMap<>();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java
final Map<String, AccessResultImpl<Long>> arMap = dataHelper.getAccessResultMap(sessionId); for (final Map.Entry<String, AccessResultImpl<Long>> entry : arMap.entrySet()) { accessResultCallback.iterate(entry.getValue()); } } /* * (non-Javadoc) *
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
} @GwtIncompatible // SerializableTester 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()))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
static TestSuite tests(String name, ByteSinkFactory factory) { TestSuite suite = new TestSuite(name); for (Entry<String, String> entry : TEST_STRINGS.entrySet()) { String desc = entry.getKey(); TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc); suite.addTest(stringSuite); } return suite; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4K bytes - Viewed (0)