- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 132 for isFull (0.03 sec)
-
android/guava/src/com/google/common/collect/DenseImmutableTable.java
// True if getValue never returns null. private boolean isFull() { return size == keyToIndex().size(); } K getKey(int index) { return keyToIndex().keySet().asList().get(index); } abstract @Nullable V getValue(int keyIndex); @Override ImmutableSet<K> createKeySet() { return isFull() ? keyToIndex().keySet() : super.createKeySet(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 9.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
* * <p><b>Discouraged:</b> Prefer using either {@code x -> x == null} or {@code Objects::isNull}, * but note that lambdas and method references do not have human-readable {@link #toString()} * representations and are not serializable. */ public static <T extends @Nullable Object> Predicate<T> isNull() { return ObjectPredicate.IS_NULL.withNarrowedType(); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
assertThat(spec.initialCapacity).isNull(); assertThat(spec.maximumSize).isNull(); assertThat(spec.maximumWeight).isNull(); assertThat(spec.concurrencyLevel).isNull(); assertThat(spec.keyStrength).isNull(); assertThat(spec.valueStrength).isNull(); assertThat(spec.writeExpirationTimeUnit).isNull(); assertThat(spec.accessExpirationTimeUnit).isNull();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 20.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableTest.java
} } public void testPut() { assertThat(table.put("foo", 1, cellValue('a'))).isNull(); assertThat(table.put("bar", 1, cellValue('b'))).isNull(); assertThat(table.put("foo", 3, cellValue('c'))).isNull(); assertEquals((Character) 'a', table.put("foo", 1, cellValue('d'))); assertEquals((Character) 'd', table.get("foo", 1));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
assertThat(parse(url, "a\u0000b=cd")).isNull() assertThat(parse(url, "ab=c\u0000d")).isNull() assertThat(parse(url, "a\u0001b=cd")).isNull() assertThat(parse(url, "ab=c\u0001d")).isNull() assertThat(parse(url, "a\u0009b=cd")).isNull() assertThat(parse(url, "ab=c\u0009d")).isNull() assertThat(parse(url, "a\u001fb=cd")).isNull() assertThat(parse(url, "ab=c\u001fd")).isNull()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 24.4K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNull import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.ResponseBody.Companion.asResponseBody import okhttp3.ResponseBody.Companion.toResponseBody import okio.Buffer import okio.ByteString.Companion.encodeUtf8
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
CompactLinkedHashMap<Integer, String> map = CompactLinkedHashMap.create(); assertThat(map.needsAllocArrays()).isTrue(); assertThat(map.entries).isNull(); assertThat(map.keys).isNull(); assertThat(map.values).isNull(); assertThat(map.links).isNull(); map.put(1, Integer.toString(1)); assertThat(map.needsAllocArrays()).isFalse(); assertThat(map.entries).hasLength(CompactHashing.DEFAULT_SIZE);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
} /* * Tests for Predicates.isNull() */ public void testIsNull_apply() { Predicate<@Nullable Integer> isNull = Predicates.isNull(); assertTrue(isNull.apply(null)); assertFalse(isNull.apply(1)); } public void testIsNull_equality() { new EqualsTester() .addEqualityGroup(Predicates.isNull(), Predicates.isNull()) .addEqualityGroup(Predicates.notNull())
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(Ints.tryParse("")).isNull(); assertThat(Ints.tryParse("-")).isNull(); assertThat(Ints.tryParse("+1")).isNull(); assertThat(Ints.tryParse("9999999999999999")).isNull(); assertWithMessage("Max integer + 1") .that(Ints.tryParse(Long.toString(((long) GREATEST) + 1))) .isNull(); assertWithMessage("Max integer * 10")
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
assertThat(map.get(Integer.class)).isNull(); assertThat(map.getInstance(Integer.class)).isNull(); map.put(Long.class, null); assertThat(map.get(Long.class)).isNull(); assertThat(map.getInstance(Long.class)).isNull(); } public void testPrimitiveAndWrapper() { assertThat(map.getInstance(int.class)).isNull(); assertThat(map.getInstance(Integer.class)).isNull();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 5K bytes - Viewed (0)