- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_ofNullable_edgeCaseValues (0.09 sec)
-
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
for (int i = 0; i < 1000; i++) { OptionalEntity<Integer> opt = OptionalUtil.ofNullable((Integer) null); assertFalse(opt.isPresent()); } } public void test_ofNullable_edgeCaseValues() { // Test with special numeric values OptionalEntity<Double> nanOpt = OptionalUtil.ofNullable(Double.NaN); assertTrue(nanOpt.isPresent()); assertTrue(Double.isNaN(nanOpt.get()));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13K bytes - Viewed (0)