- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for nullValue (0.06 sec)
-
guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
() -> ImmutableBiMap.ofEntries((Entry<Integer, Integer>) nullKey)); Entry<Integer, @Nullable Integer> nullValue = ImmutableBiMapTest.<@Nullable Integer>entry(23, null); assertThrows( NullPointerException.class, () -> ImmutableBiMap.ofEntries((Entry<Integer, Integer>) nullValue)); } private static <T extends @Nullable Object> Entry<T, T> entry(T key, T value) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
boolean permitsDuplicates, @Nullable String nullKey, @Nullable Integer nullValue) { multimap.clear(); multimap.put("foo", 1); multimap.put("foo", 2); multimap.put("foo", 3); multimap.put("bar", 5); multimap.put("bar", -1); multimap.put(nullKey, nullValue); multimap.put("foo", nullValue); multimap.put(nullKey, 5); multimap.put("foo", 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; import static org.hamcrest.CoreMatchers.nullValue; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.collection.IsIterableContainingInAnyOrder.containsInAnyOrder; import static org.junit.jupiter.api.Assertions.assertEquals;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
() -> ImmutableMap.ofEntries((Entry<Integer, Integer>) nullKey)); Entry<@Nullable Integer, @Nullable Integer> nullValue = entry(23, null); assertThrows( NullPointerException.class, () -> ImmutableMap.ofEntries((Entry<Integer, Integer>) nullValue)); } private static <T> Map<T, T> map(T... keysAndValues) { assertThat(keysAndValues.length % 2).isEqualTo(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
() -> ImmutableMap.ofEntries((Entry<Integer, Integer>) nullKey)); Entry<@Nullable Integer, @Nullable Integer> nullValue = entry(23, null); assertThrows( NullPointerException.class, () -> ImmutableMap.ofEntries((Entry<Integer, Integer>) nullValue)); } private static <T> Map<T, T> map(T... keysAndValues) { assertThat(keysAndValues.length % 2).isEqualTo(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java
boolean nullKeys = inverseFeatures.remove(MapFeature.ALLOWS_NULL_KEYS); boolean nullValues = inverseFeatures.remove(MapFeature.ALLOWS_NULL_VALUES); if (nullKeys) { inverseFeatures.add(MapFeature.ALLOWS_NULL_VALUES); } if (nullValues) { inverseFeatures.add(MapFeature.ALLOWS_NULL_KEYS); } inverseFeatures.add(NoRecurse.INVERSE);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0)