- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testSampleCodeError2 (0.1 sec)
-
guava-tests/test/com/google/common/base/OptionalTest.java
Optional<Integer> optionalInt = getSomeOptionalInt(); // Number value = optionalInt.or(0.5); // error } @SuppressWarnings("unused") // compilation test public void testSampleCodeError2() { FluentIterable<? extends Number> numbers = getSomeNumbers(); Optional<? extends Number> first = numbers.first(); // Number value = first.or(0.5); // error }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.5K bytes - Viewed (0)