- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 375 for Entries (0.06 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java
public void testForEachKnownOrder() { List<Entry<K, V>> entries = new ArrayList<>(); getMap().forEach((k, v) -> entries.add(entry(k, v))); assertEquals(getOrderedElements(), entries); } @CollectionFeature.Require(absent = KNOWN_ORDER) public void testForEachUnknownOrder() { List<Entry<K, V>> entries = new ArrayList<>(); getMap().forEach((k, v) -> entries.add(entry(k, v)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java
public void testForEachKnownOrder() { List<Entry<K, V>> entries = new ArrayList<>(); getMap().forEach((k, v) -> entries.add(entry(k, v))); assertEquals(getOrderedElements(), entries); } @CollectionFeature.Require(absent = KNOWN_ORDER) public void testForEachUnknownOrder() { List<Entry<K, V>> entries = new ArrayList<>(); getMap().forEach((k, v) -> entries.add(entry(k, v)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
map.put("bar", 3); Iterator<Entry<String, Integer>> entries = map.entries().iterator(); Entry<String, Integer> entry = entries.next(); assertEquals("bar", entry.getKey()); assertEquals(1, (int) entry.getValue()); entry = entries.next(); assertEquals("foo", entry.getKey()); assertEquals(2, (int) entry.getValue()); entry.setValue(4); entry = entries.next(); assertEquals("bar", entry.getKey());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java
mapEntry("five", "May")); } @Override public Map<String, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<String, String> e = (Entry<String, String>) o; array[i++] = e; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeMap.java
* this range map are guaranteed to read through to the returned {@code Map}. * * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the * {@code Range} entries. * * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}. */ Map<Range<K>, V> asMapOfRanges(); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java
mapEntry("five", "May")); } @Override public final BiMap<String, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<String, String> e = (Entry<String, String>) o; array[i++] = e; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java
mapEntry("five", "May")); } @Override public final BiMap<String, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<String, String> e = (Entry<String, String>) o; array[i++] = e; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
multimap().clear(); assertEmpty(asMap); } @MapFeature.Require(SUPPORTS_REMOVE) public void testClearPropagatesToEntries() { Collection<Entry<K, V>> entries = multimap().entries(); multimap().clear(); assertEmpty(entries); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
/** * Returns an immutable collection of all key-value pairs in the multimap. Its iterator traverses * the values for the first key, the values for the second key, and so on. */ @Override public ImmutableSet<Entry<K, V>> entries() { ImmutableSet<Entry<K, V>> result = entries; return result == null ? (entries = new EntrySet<>(this)) : result; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
/** Returns an immutable multimap containing the given entries, in order. */ public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1, K k2, V v2) { ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder(); builder.put(k1, v1); builder.put(k2, v2); return builder.build(); } /** Returns an immutable multimap containing the given entries, in order. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0)