- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for optional (0.16 sec)
-
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} // common.base @Empty <T> com.google.common.base.Optional<T> generateGoogleOptional() { return com.google.common.base.Optional.absent(); } @Generates <T> com.google.common.base.Optional<T> generateGoogleOptional(T value) { return com.google.common.base.Optional.of(value); } @Generates Joiner generateJoiner() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
* @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; } private static final Object NULL_PLACEHOLDER = new Object();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 5.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return pickInstance(Currency.getAvailableCurrencies(), Currency.getInstance(Locale.US)); } @Empty <T> Optional<T> generateJavaOptional() { return Optional.empty(); } @Generates <T> Optional<T> generateJavaOptional(T value) { return Optional.of(value); } @Generates OptionalInt generateOptionalInt() { return OptionalInt.of(generateInt()); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28.6K bytes - Viewed (0) -
.github/workflows/scorecard.yml
- name: "Run analysis" uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1 with: results_file: results.sarif results_format: sarif # (Optional) "write" PAT token. Uncomment the `repo_token` line below if: # - you want to enable the Branch-Protection check on a *public* repository, or # - you are installing Scorecard on a *private* repository
Others - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 29 23:37:56 GMT 2024 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.base.Function; import com.google.common.base.Optional; import com.google.common.base.Predicate; import com.google.common.base.Predicates; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Collection; import java.util.Comparator;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 42.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(TimeUnit.class, TimeUnit.SECONDS) .put(Charset.class, Charsets.UTF_8) .put(Currency.class, Currency.getInstance(Locale.US)) .put(Locale.class, Locale.US) .put(Optional.class, Optional.empty()) .put(OptionalInt.class, OptionalInt.empty()) .put(OptionalLong.class, OptionalLong.empty()) .put(OptionalDouble.class, OptionalDouble.empty())
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 21K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(CharMatcher.class, CharMatcher.none()) .put(Joiner.class, Joiner.on(',')) .put(Splitter.class, Splitter.on(',')) .put(com.google.common.base.Optional.class, com.google.common.base.Optional.absent()) .put(Predicate.class, Predicates.alwaysTrue()) .put(Equivalence.class, Equivalence.equals()) .put(Ticker.class, Ticker.systemTicker())
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 20.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
protected void afterDone() {} // TODO(b/114236866): Inherit doc from InternalFutureFailureAccess. Also, -link to its URL. /** * Usually returns {@code null} but, if this {@code Future} has failed, may <i>optionally</i> * return the cause of the failure. "Failure" means specifically "completed with an exception"; it * does not include "was cancelled." To be explicit: If this method returns a non-null value, * then: *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
README.md
`@Deprecated` APIs will remain (again, unless they are `@Beta`). We have no plans to start removing things again, but officially, we're leaving our options open in case of surprises (like, say, a serious security problem). 3. Guava has one dependency that is needed for linkage at runtime: `com.google.guava:failureaccess:1.0.2`. It also has
Plain Text - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 51.1K bytes - Viewed (0)