- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 395 for Absent (0.08 sec)
-
android/guava/src/com/google/common/base/Enums.java
throw new AssertionError(impossible); } } /** * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the * constant does not exist, {@link Optional#absent} is returned. A common use case is for parsing * user input or falling back to a default enum constant. For example, {@code * Enums.getIfPresent(Country.class, countryInput).or(Country.DEFAULT);} * * @since 12.0
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
return implied; } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation public @interface Require { CollectionFeature[] value() default {}; CollectionFeature[] absent() default {}; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
* Include `Content-Type` and `Content-Encoding` in the Apache HTTP client adapter. (thanks kwuollett) * Add a media type class to OkHttp. * Change custom header prefix: ``` X-Android-Sent-Millis is now OkHttp-Sent-Millis X-Android-Received-Millis is now OkHttp-Received-Millis X-Android-Response-Source is now OkHttp-Response-Source X-Android-Selected-Transport is now OkHttp-Selected-Transport ```Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0) -
docs/features/calls.md
provide OkHttp with an HTTP request, you’re describing the request at a high-level: _“fetch me this URL with these headers.”_ For correctness and efficiency, OkHttp rewrites your request before transmitting it. OkHttp may add headers that are absent from the original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless the header is already present....
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
// clear absent assertFalse(segment.clearValueForTesting(key, hash, valueRef)); segment.setTableEntryForTesting(0, entry); // don't increment count; this is used during computation assertTrue(segment.clearValueForTesting(key, hash, valueRef)); // no notification sent with clearValue assertEquals(0, segment.count);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
// clear absent assertFalse(segment.clearValueForTesting(key, hash, valueRef)); segment.setTableEntryForTesting(0, entry); // don't increment count; this is used during computation assertTrue(segment.clearValueForTesting(key, hash, valueRef)); // no notification sent with clearValue assertEquals(0, segment.count);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
entry.setValueReference(valueRef); // absent assertThat(segment.removeLoadingValue(key, hash, valueRef)).isFalse(); // live table.set(0, entry); // don't increment count; this is used during computation assertThat(segment.removeLoadingValue(key, hash, valueRef)).isTrue(); // no notification sent with removeLoadingValue
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 115.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
entry.setValueReference(valueRef); // absent assertThat(segment.removeLoadingValue(key, hash, valueRef)).isFalse(); // live table.set(0, entry); // don't increment count; this is used during computation assertThat(segment.removeLoadingValue(key, hash, valueRef)).isTrue(); // no notification sent with removeLoadingValue
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 117.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/BiMap.java
* previous entry. (If the bimap contains null values, then {@code forcePut}, like {@code * put}, returns {@code null} both if the key is absent and if it is present with a null * value.) */ @CanIgnoreReturnValue @Nullable V forcePut(@ParametricNullness K key, @ParametricNullness V value); // Bulk Operations /** * {@inheritDoc}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
array[getNumElements()]); // array[getNumElements() + 1] might or might not have been nulled } @CollectionSize.Require(absent = ZERO) public void testToArray_emptyArrayOfWrongTypeForNonEmptyCollection() { assertThrows( ArrayStoreException.class, () -> { WrongType[] array = new WrongType[0];
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 8.2K bytes - Viewed (0)