- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for nefariousMapEntry (0.11 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
* should not be possible to access the raw (modifiable) map entry via a nefarious equals method. */ public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> nefariousMapEntry(K key, V value) { return new Entry<K, V>() { @Override public K getKey() { return key; } @Override public V getValue() { return value;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.collect.Sets.newHashSet; import static com.google.common.collect.testing.Helpers.nefariousMapEntry; import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE; import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList; import static java.util.Collections.emptySet;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
* should not be possible to access the raw (modifiable) map entry via a nefarious equals method. */ public static <K extends @Nullable Object, V extends @Nullable Object> Entry<K, V> nefariousMapEntry(K key, V value) { return new Entry<K, V>() { @Override public K getKey() { return key; } @Override public V getValue() { return value;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0)