- Sort Score
- Result 10 results
- Languages All
Results 1361 - 1370 of 3,654 for nullif (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
ms.add("b"); ms.add(null); ms.add("a"); ms.add("b"); ms.add(null, 2); assertThat(ms).containsExactly(null, null, null, "a", "b", "b").inOrder(); assertEquals(3, ms.count(null)); SortedSet<@Nullable String> elementSet = ms.elementSet(); assertEquals(null, elementSet.first()); assertEquals("b", elementSet.last());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 12.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertThrows(NullPointerException.class, () -> future.addListener(null, directExecutor())); } public void testNullExecutor() { assertThrows(NullPointerException.class, () -> future.addListener(doNothing(), null)); } public void testNullTimeUnit() throws Exception { future.set(1); assertThrows(NullPointerException.class, () -> future.get(0, null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 15.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
assertTrue(multimap().remove(getKeyForNullValue(), null)); expectMissing(mapEntry(getKeyForNullValue(), (V) null)); assertGet(getKeyForNullValue(), ImmutableList.<V>of()); } @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEY_QUERIES}) public void testRemoveNullKeyAbsent() { assertFalse(multimap().remove(null, v0())); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
assertTrue(multimap().remove(getKeyForNullValue(), null)); expectMissing(mapEntry(getKeyForNullValue(), (V) null)); assertGet(getKeyForNullValue(), ImmutableList.<V>of()); } @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEY_QUERIES}) public void testRemoveNullKeyAbsent() { assertFalse(multimap().remove(null, v0())); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataRetrievalException.java
public MetadataRetrievalException(String message) { this(message, null, null); } public MetadataRetrievalException(Throwable cause) { this(null, cause, null); } public MetadataRetrievalException(String message, Throwable cause) { this(message, cause, null); } public MetadataRetrievalException(String message, Throwable cause, ArtifactMetadata artifact) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
if (a.getVersion() != null) { result = 31 * result + a.getVersion().hashCode(); } result = 31 * result + (a.getClassifier() != null ? a.getClassifier().hashCode() : 0); result = 31 * result + (a.getScope() != null ? a.getScope().hashCode() : 0); result = 31 * result + (a.getDependencyFilter() != null ? a.getDependencyFilter().hashCode() : 0);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java
Comparator<? super E> result = comparator; if (result == null) { return comparator = Ordering.from(forwardMultiset().comparator()).<E>reverse(); } return result; } @Nullable private transient SortedSet<E> elementSet; @Override public SortedSet<E> elementSet() { SortedSet<E> result = elementSet; if (result == null) { return elementSet = new SortedMultisets.ElementSet<E>(this);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 24 16:03:45 UTC 2024 - 4.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
assertThrows(NullPointerException.class, () -> getMap().replace(k0(), null)); expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES) public void testReplace_absentNullValueUnsupported() { try { getMap().replace(k3(), null); } catch (NullPointerException tolerated) { // permitted not to throw because it would be a no-op }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/InternersTest.java
assertSame(canonical, pool.intern(not)); } public void testStrong_null() { Interner<String> pool = Interners.newStrongInterner(); assertThrows(NullPointerException.class, () -> pool.intern(null)); } public void testStrong_builder() { int concurrencyLevel = 42; Interner<Object> interner = Interners.newBuilder().strong().concurrencyLevel(concurrencyLevel).build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/internal.kt
} } internal fun MediaType?.chooseCharset(): Pair<Charset, MediaType?> { var charset: Charset = Charsets.UTF_8 var finalContentType: MediaType? = this if (this != null) { val resolvedCharset = this.charset() if (resolvedCharset == null) { charset = Charsets.UTF_8 finalContentType = "$this; charset=utf-8".toMediaTypeOrNull() } else { charset = resolvedCharset } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.7K bytes - Viewed (0)