- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for generateJavaOptional (0.15 sec)
-
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
Currency generateCurrency() { 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()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0)