- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testSampleCodeFine2 (0.13 sec)
-
guava-tests/test/com/google/common/base/OptionalTest.java
Optional<Number> optionalInt = Optional.of((Number) 1); Number value = optionalInt.or(0.5); // fine } @SuppressWarnings("unused") // compilation test public void testSampleCodeFine2() { FluentIterable<? extends Number> numbers = getSomeNumbers(); // Sadly, the following is what users will have to do in some circumstances. @SuppressWarnings("unchecked") // safe covariant cast
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.5K bytes - Viewed (0)