- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 441 for optionals (0.08 sec)
-
guava-tests/test/com/google/common/base/OptionalTest.java
List<Optional<Object>> optionals = ImmutableList.of(Optional.absent(), Optional.absent()); assertThat(Optional.presentInstances(optionals)).isEmpty(); } public void testPresentInstances_somePresent() { List<Optional<String>> optionals = ImmutableList.of(Optional.of("a"), Optional.<String>absent(), Optional.of("c"));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* * @since 11.0 (generics widened in 13.0) */ public static <T> Iterable<T> presentInstances( Iterable<? extends Optional<? extends T>> optionals) { checkNotNull(optionals); return () -> new AbstractIterator<T>() { private final Iterator<? extends Optional<? extends T>> iterator = checkNotNull(optionals.iterator());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
} private static final Function<Object, Optional<?>> NULLABLE_TO_OPTIONAL = new Function<Object, Optional<?>>() { @Override public Optional<?> apply(@Nullable Object obj) { return Optional.fromNullable(obj); } }; private static final Function<Optional<?>, @Nullable Object> OPTIONAL_TO_NULLABLE = new Function<Optional<?>, @Nullable Object>() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/MoreObjects.java
* Predicates.notNull())}, static importing as necessary. * * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier) * first.or(supplier)}. * * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.1K bytes - Viewed (0) -
guava/src/com/google/common/base/MoreObjects.java
* Predicates.notNull())}, static importing as necessary. * * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier) * first.or(supplier)}. * * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
.add("field11", Arrays.asList("Hello")) .add("field12", new ArrayList<>()) .add("field13", new HashMap<>()) // Optionals .add("field26", Optional.of("World")) .add("field27", Optional.absent()) // Arrays .add("field31", new Object[] {"!!!"}) .add("field32", new boolean[0]) .add("field33", new byte[0])
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 21.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.34.md
- Added support for CEL expressions with escaped names in the structured authentication config. Using `[...]` to access claims or user data was recommended when names contained characters that would otherwise need escaping. CEL optionals with `?` could be used where has was not applicable — for example, `claims[?"kubernetes.io"]` or `user.extra[?"domain.io/foo"]`. ([#131574](https://github.com/kubernetes/kubernetes/pull/131574), [@enj](https://github.com/enj)) [SIG API Machinery...
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Wed Dec 10 01:13:50 UTC 2025 - 333.3K bytes - Viewed (1) -
okhttp/build.gradle.kts
"com.oracle.svm.core.annotate;resolution:=optional," + "com.oracle.svm.core.configure;resolution:=optional," + "dalvik.system;resolution:=optional," + "org.conscrypt;resolution:=optional," + "org.bouncycastle.*;resolution:=optional," + "org.openjsse.*;resolution:=optional," + "org.graalvm.nativeimage;resolution:=optional," + "org.graalvm.nativeimage.hosted;resolution:=optional," +Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 12.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt
) : Closeable by body internal companion object { /** These options follow the boundary. */ val afterBoundaryOptions = Options.of( // 0. "\r\n" More parts. "\r\n".encodeUtf8(), // 1. "--" No more parts. "--".encodeUtf8(), // 2. " " Optional whitespace. Only used if there are more parts. " ".encodeUtf8(),Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 7.3K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.28.md
- Introduce support for CEL optionals (see [CEL spec proposal 246](https://github.com/google/cel-spec/wiki/proposal-246)). This feature will not be fully enabled until a future Kubernetes release (likely to be v1.29), but is added in v1.28 to enable
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Fri Sep 05 03:47:18 UTC 2025 - 456.9K bytes - Viewed (1)