Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_method_reference (0.1 sec)

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

            assertFalse(startsWithHello.apply("hi world"));
            assertFalse(startsWithHello.apply(""));
            assertFalse(startsWithHello.apply(null));
        }
    
        public void test_method_reference() {
            BooleanFunction<String> isEmpty = String::isEmpty;
    
            assertTrue(isEmpty.apply(""));
            assertFalse(isEmpty.apply("test"));
            assertFalse(isEmpty.apply("a"));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top