- Sort Score
- Result 10 results
- Languages All
Results 1061 - 1070 of 3,989 for Null (0.04 sec)
-
android/guava-tests/test/com/google/common/base/MoreObjectsTest.java
Long n1 = 42L; Long n2 = MoreObjects.firstNonNull(null, n1); assertSame(n1, n2); Boolean b1 = true; Boolean b2 = MoreObjects.firstNonNull(b1, null); assertSame(b1, b2); } public void testFirstNonNull_throwsNullPointerException() { assertThrows(NullPointerException.class, () -> MoreObjects.firstNonNull(null, null)); } // ToStringHelper's tests are in ToStringHelperTest
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/MoreObjectsTest.java
Long n1 = 42L; Long n2 = MoreObjects.firstNonNull(null, n1); assertSame(n1, n2); Boolean b1 = true; Boolean b2 = MoreObjects.firstNonNull(b1, null); assertSame(b1, b2); } public void testFirstNonNull_throwsNullPointerException() { assertThrows(NullPointerException.class, () -> MoreObjects.firstNonNull(null, null)); } // ToStringHelper's tests are in ToStringHelperTest
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 2.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt
@SuppressSignatureCheck sealed class ConnectionEvent { abstract val timestampNs: Long open val connection: Connection? get() = null /** Returns if the event closes this event, or null if this is no open event. */ open fun closes(event: ConnectionEvent): Boolean? = null val name: String get() = javaClass.simpleName data class ConnectStart( override val timestampNs: Long, val route: Route,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java
assertEquals(new Byte("1"), NumberConversionUtil.convertPrimitiveWrapper(byte.class, "1")); assertEquals(new Byte("0"), NumberConversionUtil.convertPrimitiveWrapper(byte.class, null)); } /** * @throws Exception */ public void testFindFractionDelimeter() throws Exception { final String delim = NumberConversionUtil.findDecimalSeparator(Locale.JAPAN);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java
return false; } public String getGroupId() { return groupId; } public String getArtifactId() { return null; } public String getBaseVersion() { return null; } public void addPluginMapping(String goalPrefix, String artifactId) { addPluginMapping(goalPrefix, artifactId, artifactId); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
return strValue; } final Object value = params.get(key); if (value != null) { return value.toString(); } return null; } public String getAsString(final String key, final String defaultValue) { final String value = getAsString(key); if (value != null) { return value; } return defaultValue; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/failureurl/EditForm.java
public String getCurrentPageNumber() { return pageNumber; } public void initialize() { id = null; url = null; threadName = null; errorName = null; errorLog = null; errorCount = null; lastAccessTime = null; configId = null; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
.build(), ) val source = newEventSource() assertThat(source.request().url.encodedPath).isEqualTo("/") listener.assertOpen() listener.assertEvent(null, null, "hey") listener.assertClose() } @RetryingTest(5) fun cancelInEventShortCircuits() { server.enqueue( MockResponse.Builder() .body( """ |data: hey
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
*/ @CheckForNull V getLiveValue(ReferenceEntry<K, V> entry, long now) { if (entry.getKey() == null) { return null; } V value = entry.getValueReference().get(); if (value == null) { return null; } if (isExpired(entry, now)) { return null; } return value; } // expiration
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0)