- Sort Score
- Result 10 results
- Languages All
Results 1921 - 1930 of 4,015 for null (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
public void testEquals_otherListContainingNull() { List<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, null); assertFalse( "Two Lists should not be equal if exactly one of them has null at a given index.", getList().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
/* * Even though it's weird to pass a defaultValue that is null, some callers do so. Those who * pass a literal "null" should probably just use `get`, but I would expect other callers to * pass an expression that *might* be null. This could happen with: * * - a `getFooOrDefault(@CheckForNull Foo defaultValue)` method that returns
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
Source rel = source.resolve(relPath); return rel != null ? new SourceWrapper(rel) : null; } @Override public URI getLocationURI() { Path path = source.getPath(); return path != null ? path.toUri() : URI.create(source.getLocation()); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
/** * A word about using {@link Equivalence}, which automatically checks for {@code null} and * identical inputs: This sounds like it ought to be a problem here, since the goals of this class * include testing that {@code equals()} is reflexive and is tolerant of {@code null}. However, * there's no problem. The reason: {@link EqualsTester} tests {@code null} and identical inputs
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
transformer.init(); final Node pruneNode = transformer.pruneNode(document.cloneNode(true), null); assertEquals(getXmlString(document), getXmlString(pruneNode)); ComponentUtil.setFessConfig(null); } public void test_pruneNode_removeNoScript() throws Exception {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 41.3K bytes - Viewed (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallHandshakeTest.kt
} private fun makeClient( connectionSpec: ConnectionSpec? = null, tlsVersion: TlsVersion? = null, cipherSuites: List<CipherSuite>? = null, ): OkHttpClient { return this.client.newBuilder() .apply { if (connectionSpec != null) { connectionSpecs( listOf( ConnectionSpec.Builder(connectionSpec)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartReader.kt
import okio.Options import okio.Source import okio.Timeout import okio.buffer /** * Reads a stream of [RFC 2046][rfc_2046] multipart body parts. Callers read parts one-at-a-time * until [nextPart] returns null. After calling [nextPart] any preceding parts should not be read. * * Typical use loops over the parts in sequence: * * ```kotlin * val response: Response = call.execute()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractIterator.java
* * <p>Another example is an iterator that skips over null elements in a backing iterator. This could * be implemented as: * * <pre>{@code * public static Iterator<String> skipNulls(final Iterator<String> in) { * return new AbstractIterator<String>() { * protected String computeNext() { * while (in.hasNext()) { * String s = in.next(); * if (s != null) { * return s; * } * }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 18 02:04:10 UTC 2022 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
waiter1.join(); waiter2.awaitWaiting(); // should still be blocked LockSupport.unpark(waiter2); // spurious wakeup waiter2.awaitWaiting(); // should eventually re-park future.set(null); waiter2.join(); } public void testRemoveWaiter_polling() throws Exception { final AbstractFuture<String> future = new AbstractFuture<String>() {}; WaiterThread waiter = new WaiterThread(future);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 47.1K bytes - Viewed (0)