Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_ofNullable_edgeCaseValues (0.16 seconds)

  1. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

                OptionalEntity<Integer> opt = OptionalUtil.ofNullable((Integer) null);
                assertFalse(opt.isPresent());
            }
        }
    
        @Test
        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()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
Back to Top