- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 2,557 for nullif (0.04 seconds)
-
guava/src/com/google/common/collect/Maps.java
* removal operations, and these are reflected in the underlying map. * * <p>It's acceptable for the underlying map to contain null keys, and even null values provided * that the function is capable of accepting null input. The transformed map might contain null * values, if the function sometimes gives a null result. * * <p>The returned map is not thread-safe or serializable, even if the underlying map is. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 163.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
initCollectionWithNullElement(); expectReturnsTrue(disjoint); expectContents(); } // retainAll(null) /* * AbstractCollection fails the retainAll(null) test when the subject * collection is empty, but we'd still like to test retainAll(null) when we * can. We split the test into empty and non-empty cases. This allows us to * suppress only the former. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 10.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
public void testAddAtIndex_nullSupported() { getList().add(0, null); expectAdded(0, (E) null); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES) public void testAddAtIndex_nullUnsupported() { assertThrows(NullPointerException.class, () -> getList().add(0, null)); expectUnchanged();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java
// escaping elements from a map you would use a ArrayBasedCharEscaper). UnicodeEscaper escaper = new ArrayBasedUnicodeEscaper( SIMPLE_REPLACEMENTS, Character.MIN_VALUE, Character.MAX_CODE_POINT, null) { @Override protected char[] escapeUnsafe(int c) { return NO_CHARS; } }; EscaperAsserts.assertBasic(escaper);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 18 15:41:04 GMT 2025 - 5.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java
if (pluginMgmt != null) { for (Plugin managedPlugin : pluginMgmt.getPlugins()) { Object key = getPluginKey(managedPlugin); Plugin addedPlugin = added.get(key); if (addedPlugin != null) { Plugin plugin = managedPlugin.clone();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.1K bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt
) val request = Request.Builder().url(server.url("/")).build() val response = client.newCall(request).execute() processResponse(response, listener) listener.assertOpen() listener.assertEvent(null, null, "hey") listener.assertClose() } @Test fun cancelShortCircuits() { server.enqueue( MockResponse .Builder() .body( """ |data: heyCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 3.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
assertEquals(getMethodName() + "(nullNotPresent) should return -1", -1, find(null)); } @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES) public void testFind_nullNotContainedAndUnsupported() { try { assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null)); } catch (NullPointerException tolerated) { } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
ProducedArtifact artifact = session.createProducedArtifact( project.getGroupId(), project.getArtifactId(), project.getVersion(), null, null, type); attachArtifact(project, artifact, path); } /** * Attaches a produced artifact to the project at the specified path. This is the base method
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:29:13 GMT 2025 - 12K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* Returns an arbitrary instance for {@code type}, or {@code null} if no arbitrary instance can be * determined. */ public static <T> @Nullable T get(Class<T> type) { T defaultValue = DEFAULTS.getInstance(type); if (defaultValue != null) { return defaultValue; } Class<? extends T> implementation = getImplementation(type); if (implementation != null) { return get(implementation); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0)