Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for null_value (0.16 sec)

  1. 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)
  2. 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)
  3. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

            () -> ImmutableBiMap.ofEntries((Entry<Integer, Integer>) nullKey));
        Entry<Integer, @Nullable Integer> nullValue =
            ImmutableBiMapTest.<@Nullable Integer>entry(23, null);
        assertThrows(
            NullPointerException.class,
            () -> ImmutableBiMap.ofEntries((Entry<Integer, Integer>) nullValue));
      }
    
      private static <T extends @Nullable Object> Entry<T, T> entry(T key, T value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertNull(segment.get(new Object(), hash));
    
        // null key
        DummyEntry<Object, Object> nullEntry = DummyEntry.create(null, hash, entry);
        Object nullValue = new Object();
        ValueReference<Object, Object> nullValueRef = map.newValueReference(nullEntry, nullValue, 1);
        nullEntry.setValueReference(nullValueRef);
        table.set(index, nullEntry);
        // skip the null key
        assertSame(value, segment.get(key, hash));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  5. 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)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            () -> ImmutableMap.ofEntries((Entry<Integer, Integer>) nullKey));
        Entry<@Nullable Integer, @Nullable Integer> nullValue = entry(23, null);
        assertThrows(
            NullPointerException.class,
            () -> ImmutableMap.ofEntries((Entry<Integer, Integer>) nullValue));
      }
    
      private static <T> Map<T, T> map(T... keysAndValues) {
        assertThat(keysAndValues.length % 2).isEqualTo(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top