Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_lambda_expression (0.45 sec)

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

            assertTrue(identity.apply(true));
            assertFalse(identity.apply(false));
            assertFalse(identity.apply(null));
        }
    
        public void test_lambda_expression() {
            BooleanFunction<String> startsWithHello = s -> s != null && s.startsWith("hello");
    
            assertTrue(startsWithHello.apply("hello world"));
            assertTrue(startsWithHello.apply("hello"));
    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