Static Method References – Functional-Style Programming
Static Method References Sometimes the lambda body of a lambda expression is just a call to a static method. The lambda expression at (1a) calls the static method now() in the class java.time.LocalDate to obtain the current date from the system clock. Click here to view code image Supplier<LocalDate> dateNowLE = () -> LocalDate.now(); // … Read moreStatic Method References – Functional-Style Programming