- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 694 for key4 (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java
getMap() .replaceAll( (K k, V v) -> { int index = keys().asList().indexOf(k); return values().asList().get(index + 1); }); List<Entry<K, V>> orderedEntries = getOrderedElements(); int index = 0; for (K key : getMap().keySet()) { assertEquals(orderedEntries.get(index).getKey(), key); index++; } } @MapFeature.Require(absent = SUPPORTS_PUT)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredKeyMultimap.java
@Override public boolean containsKey(@Nullable Object key) { if (unfiltered.containsKey(key)) { @SuppressWarnings("unchecked") // k is equal to a K, if not one itself K k = (K) key; return keyPredicate.apply(k); } return false; } @Override public Collection<V> removeAll(@Nullable Object key) { return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
@Override public boolean containsKey(@Nullable Object key) { if (unfiltered.containsKey(key)) { @SuppressWarnings("unchecked") // k is equal to a K, if not one itself K k = (K) key; return keyPredicate.apply(k); } return false; } @Override public Collection<V> removeAll(@Nullable Object key) { return containsKey(key) ? unfiltered.removeAll(key) : unmodifiableEmptyCollection(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/BiMap.java
* provided key-value mapping, this method has no effect. * * <p>Note that a successful call to this method could cause the size of the bimap to increase by * one, stay the same, or even decrease by one. * * <p><b>Warning:</b> If an existing entry with this value is removed, the key for that entry is * discarded and not returned. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedSetMultimap.java
import org.jspecify.annotations.Nullable; /** * A {@code SetMultimap} whose set of values for a given key are kept sorted; that is, they comprise * a {@link SortedSet}. It cannot hold duplicate key-value pairs; adding a key-value pair that's * already in the multimap has no effect. This interface does not specify the ordering of the * multimap's keys. See the {@link Multimap} documentation for information common to all multimaps. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
* over keys in the order they were first encountered in the input, and the values for each key * are iterated in the order they were encountered. If two values for the same key are {@linkplain * Object#equals equal}, the first value encountered is used. * * @throws NullPointerException if any key, value, or entry is null * @since 19.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
} @Override public @Nullable Entry<K, V> floorEntry(K key) { return delegate.floorEntry(checkValid(key)); } @Override public @Nullable K floorKey(K key) { return delegate.floorKey(checkValid(key)); } @Override public @Nullable V get(Object key) { return delegate.get(checkValid(key)); } @Override public SortedMap<K, V> headMap(K toKey) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Serialization.java
* Multimap#asMap} view determines the ordering in which data is written to the stream. * * <p>The serialized output consists of the number of distinct keys, and then for each distinct * key: the key, the number of values for that key, and the key's values. */ static <K extends @Nullable Object, V extends @Nullable Object> void writeMultimap(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
assertEquals(property.key() + "=" + property.value(), property.toString()); } } public void testNoNullValues() { for (StandardSystemProperty property : StandardSystemProperty.values()) { // Even though the contract in System.getProperties() specifies that a value will exist for // all of the listed keys, for some reason the "java.compiler" key returns null in some JVMs. if (property == JAVA_COMPILER) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
for (K key : multimap().keySet()) { assertTrue(multimap().asMap().get(key) instanceof List); } } @MapFeature.Require(SUPPORTS_REMOVE) public void testAsMapRemoveImplementsList() { List<K> keys = new ArrayList<>(multimap().keySet()); for (K key : keys) { resetCollection(); assertTrue(multimap().asMap().remove(key) instanceof List); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.3K bytes - Viewed (0)