- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 470 for optionals (0.07 sec)
-
android/guava/src/com/google/common/collect/Multiset.java
* to add or remove multiple occurrences of an element at once, or to set the count of an element to * a specific value. These modification operations are optional, but implementations which support * the standard collection operations {@link #add(Object)} or {@link #remove(Object)} are encouraged * to implement the related methods as well. Finally, two collection views are provided: {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 19.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
* @throws NullPointerException if any element in the stream is {@code null}. * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be * {@code null}) and returns {@code Optional.empty()} if it has none. */ @SuppressWarnings("unchecked") public static <T> Collector<T, ?, Optional<T>> toOptional() { return (Collector) TO_OPTIONAL; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/MoreCollectors.java
* @throws NullPointerException if any element in the stream is {@code null}. * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be * {@code null}) and returns {@code Optional.empty()} if it has none. */ @SuppressWarnings("unchecked") public static <T> Collector<T, ?, Optional<T>> toOptional() { return (Collector) TO_OPTIONAL; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 5.4K bytes - Viewed (0) -
pom.xml
<dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.26</version> <optional>true</optional> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.3.5</version> <optional>true</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId>
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 03:01:32 UTC 2025 - 4.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java
for (int i = 0; i < size; i++) { root = Optional.of(new BinaryNode(rng.nextInt(), root, Optional.<BinaryNode>absent())); } return root; } }, ALL_RIGHT { @Override Optional<BinaryNode> createTree(int size, Random rng) { Optional<BinaryNode> root = Optional.absent(); for (int i = 0; i < size; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
} @Override public Optional<Long> lengthIfKnown() { long result = 0L; for (CharSource source : sources) { Optional<Long> lengthIfKnown = source.lengthIfKnown(); if (!lengthIfKnown.isPresent()) { return Optional.absent(); } result += lengthIfKnown.get(); } return Optional.of(result); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
} @Override public Optional<Long> lengthIfKnown() { long result = 0L; for (CharSource source : sources) { Optional<Long> lengthIfKnown = source.lengthIfKnown(); if (!lengthIfKnown.isPresent()) { return Optional.absent(); } result += lengthIfKnown.get(); } return Optional.of(result); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
.addValue(Collections.emptyMap()) .addValue(null) .add(SHORT_NAME, Optional.of("1")) .add(LONG_NAME, Optional.of("1")) .add(SHORT_NAME, Optional.absent()) .add(LONG_NAME, Optional.absent()) .add(SHORT_NAME, Optional.of("2")) .add(SHORT_NAME, Optional.absent()) .addValue(null) .add(SHORT_NAME, new int[] {1})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.4K bytes - Viewed (0) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 03:59:03 UTC 2025 - 9.4K bytes - Viewed (0) -
build.gradle.kts
// okhttp configured specifically. if (project.name == "okhttp") return@dependencies if (project.name == "mockwebserver3-junit5") { // JUnit 5's APIs need java.util.function.Function and java.util.Optional from API 24. androidSignature(rootProject.libs.signature.android.apilevel24) { artifact { type = "signature" } } } else { // Everything else requires Android API 21+.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 08:06:31 UTC 2025 - 11.3K bytes - Viewed (0)