- Sort Score
- Num 10 results
- Language All
Results 3131 - 3140 of 4,689 for nulls (0.04 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
} public void testCopyOf_map_nulls() { Map<Class<? extends Number>, Number> nullKey = singletonMap(null, (Number) 1.0); assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullKey)); Map<? extends Class<? extends Number>, Number> nullValue = singletonMap(Number.class, null); assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullValue)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 5.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
* #hashCode()} to forward to this implementation. * * @since 7.0 */ protected int standardHashCode() { K k = getKey(); V v = getValue(); return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode()); } /** * A sensible definition of {@link #toString} in terms of {@link #getKey} and {@link #getValue}.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBasedTable.java
* * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported. * Null row keys, columns keys, and values are not supported. * * <p>Lookups by row key are often faster than lookups by column key, because the data is stored inCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Primitives.java
// cast is safe: long.class and Long.class are both of type Class<Long> @SuppressWarnings("unchecked") Class<T> wrapped = (Class<T>) PRIMITIVE_TO_WRAPPER_TYPE.get(type); return (wrapped == null) ? type : wrapped; } /** * Returns the corresponding primitive type of {@code type} if it is a wrapper type; otherwise * returns {@code type} itself. Idempotent. * * <pre>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java
static <T extends Throwable> T assertThrows( Class<T> expectedThrowable, ThrowingRunnable runnable) { return doAssertThrows( expectedThrowable, () -> { runnable.run(); return null; }, /* userPassedSupplier= */ false); } private static <T extends Throwable> T doAssertThrows( Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
static <T extends Throwable> T assertThrows( Class<T> expectedThrowable, ThrowingRunnable runnable) { return doAssertThrows( expectedThrowable, () -> { runnable.run(); return null; }, /* userPassedSupplier= */ false); } private static <T extends Throwable> T doAssertThrows( Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/HashBasedTable.java
* * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported. * Null row keys, columns keys, and values are not supported. * * <p>Lookups by row key are often faster than lookups by column key, because the data is stored inCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 4.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java
return pluginContextsByKey.computeIfAbsent(plugin.getPluginLookupKey(), k -> new HashMap<>()); } public void setFailureBehavior(String failureBehavior) { if (failureBehavior == null) { this.failureBehavior = FAIL_FAST; // default return; } if (FAIL_FAST.equals(failureBehavior) || FAIL_AT_END.equals(failureBehavior)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 6K bytes - Click Count (0)