Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for nullValue (0.04 sec)

  1. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            @Override
            public long process() {
                // This will cause NullPointerException when auto-unboxing
                Long nullValue = null;
                return nullValue;
            }
        }
    
        // Test class that throws RuntimeException
        private static class RuntimeExceptionScoreBooster extends ScoreBooster {
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. README.md

    ```
    
    ### Type Conversion
    ```java
    import org.codelibs.core.convert.*;
    
    // Safe type conversions with null handling
    Integer value = IntegerConversionUtil.toInteger("123");        // Returns 123
    Integer nullValue = IntegerConversionUtil.toInteger(null);     // Returns null
    Boolean flag = BooleanConversionUtil.toBoolean("true");        // Returns true
    Date date = DateConversionUtil.toDate("2023-12-25", "yyyy-MM-dd");
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            sourceMap.put("string", "test");
            sourceMap.put("integer", 42);
            sourceMap.put("long", 100L);
            sourceMap.put("double", 3.14);
            sourceMap.put("boolean", false);
            sourceMap.put("null_value", null);
            sourceMap.put("nested", nestedMap);
    
            event.setSourceMap(sourceMap);
    
            Map<String, Object> result = event.toSource();
            assertEquals("test", result.get("string"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top