- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 344 for NullPointerException (0.38 sec)
-
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
assertThrows(NullPointerException.class, () -> builder.add((String) null)); } public void testBuilderAddAllHandlesNullsCorrectly() { { ImmutableSortedMultiset.Builder<String> builder = ImmutableSortedMultiset.naturalOrder(); assertThrows(NullPointerException.class, () -> builder.addAll((Collection<String>) null)); } {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
for (LoadingCache<Object, Object> cache : caches()) { assertThrows(NullPointerException.class, () -> cache.get(null)); checkEmpty(cache); } } public void testGetUnchecked_null() { for (LoadingCache<Object, Object> cache : caches()) { assertThrows(NullPointerException.class, () -> cache.getUnchecked(null)); checkEmpty(cache); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
for (LoadingCache<Object, Object> cache : caches()) { assertThrows(NullPointerException.class, () -> cache.get(null)); checkEmpty(cache); } } public void testGetUnchecked_null() { for (LoadingCache<Object, Object> cache : caches()) { assertThrows(NullPointerException.class, () -> cache.getUnchecked(null)); checkEmpty(cache); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* When multiple elements are equivalent according to {@link Comparable#compareTo}, only the first * one specified is included. * * @throws NullPointerException if any element is null */ public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of(E e1, E e2) { return construct(Ordering.natural(), 2, e1, e2); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
* comparable. * * @throws ClassCastException if the keys in {@code map} are not mutually comparable * @throws NullPointerException if any key or value in {@code map} is null * @throws IllegalArgumentException if any two keys are equal according to their natural ordering */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClusterException.java
* java.util.List} or some other collection that preserves the order in which the exceptions got * added. * * @throws NullPointerException if {@code exceptions} is null * @throws IllegalArgumentException if {@code exceptions} is empty */ static RuntimeException create(Collection<? extends Throwable> exceptions) { if (exceptions.size() == 0) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 26 20:07:17 UTC 2023 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
assertThrows(NullPointerException.class, () -> builder.put(null, 1)); assertThrows(NullPointerException.class, () -> builder.putAll(null, Arrays.asList(1, 2, 3))); assertThrows(NullPointerException.class, () -> builder.putAll(null, 1, 2, 3)); assertThrows( NullPointerException.class, () -> builder.putAll((Multimap<String, Integer>) toPut)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
assertSame(canonical, pool.intern(canonical)); assertSame(canonical, pool.intern(not)); } public void testStrong_null() { Interner<String> pool = Interners.newStrongInterner(); assertThrows(NullPointerException.class, () -> pool.intern(null)); } public void testStrong_builder() { int concurrencyLevel = 42; Interner<Object> interner =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java
} @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testReplaceEntry_presentNullValueUnsupported() { assertThrows(NullPointerException.class, () -> getMap().replace(k0(), v0(), null)); expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES) @CollectionSize.Require(absent = ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java
} @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testReplaceEntry_presentNullValueUnsupported() { assertThrows(NullPointerException.class, () -> getMap().replace(k0(), v0(), null)); expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES) @CollectionSize.Require(absent = ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 5.4K bytes - Viewed (0)