- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 2,251 for Null (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
int initialSize = collection.size(); assertTrue("remove(null) should return true", collection.remove(null)); assertEquals( "remove(present) should decrease a collection's size by one.", initialSize - 1, collection.size()); expectMissing((E) null); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO)Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 21:04:02 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
getMap() .computeIfAbsent( null, k -> { assertNull(k); return v3(); })); expectUnchanged(); expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported computeIfAbsent(null, function)"); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java
* independently from <code>maven-toolchains-plugin</code>. * * @param session the Maven session, must not be {@code null} * @param type the type, must not be {@code null} * @param requirements the requirements, may be {@code null} * @return the matching toolchains, never {@code null} * @since 3.3.0 */ List<Toolchain> getToolchains(MavenSession session, String type, Map<String, String> requirements);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 12 13:13:28 GMT 2025 - 2.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestResult.java
*/ REP result, /** * Any error that occurred during processing; null if the request was successful */ Throwable error) { /** * Determines if the request was processed successfully. * * @return true if no error occurred during processing (error is null), false otherwise */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractTable.java
Map<C, V> row = safeGet(rowMap(), rowKey); return row != null && Maps.safeContainsKey(row, columnKey); } @Override public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) { Map<C, V> row = safeGet(rowMap(), rowKey); return (row == null) ? null : safeGet(row, columnKey); } @Override public boolean isEmpty() { return size() == 0; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* * @param key the key under which to store the session data, must not be {@code null} * @param oldValue the expected data currently associated with the key, may be {@code null} * @param newValue the data to associate with the key, may be {@code null} to remove the mapping * @return {@code true} if the key mapping was successfully updated from the old value to the new value,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
} public void testToString() { assertEquals("foo=1", entry("foo", 1).toString()); } public void testToStringNull() { assertEquals("null=1", entry(NK, 1).toString()); assertEquals("foo=null", entry("foo", NV).toString()); assertEquals("null=null", entry(NK, NV).toString()); } public void testEquals() { Entry<String, Integer> foo1 = entry("foo", 1);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
if (scopesToCollect == null) { scopesToCollect = Collections.emptySet(); } if (scopesToResolve == null) { scopesToResolve = Collections.emptySet(); } if (scopesToCollect.isEmpty() && scopesToResolve.isEmpty()) { return new SetWithResolutionResult(null, new LinkedHashSet<>()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 15.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt
@Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? { if (route == null) throw NullPointerException("route == null") responses += response routes += route if (!schemeMatches(response) || credential == null) return null val header = when (response.code) { 407 -> "Proxy-Authorization" else -> "Authorization" }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/InvalidRepositoryException.java
*/ private Repository repository; /** * Creates a new exception with specified detail message and cause for the given repository. * * @param message The detail message, may be {@code null}. * @param repository The repository that caused the error, may be {@code null}. * @param cause The cause, may be {@code null}. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.3K bytes - Click Count (0)