Start using these generic functional interfaces with lambda expression’s

These are generic functional interfaces which java provides under until package. You can write more clean and reusable code. All of them are stateless and type independent, So can have requirement specific expression’s. Function This is a functional interface which accepts single parameter and return a type of response. @FunctionalInterface public interface Function<T, R> { […]

Read more