Java 8 functional interfaces to handle callback
| Apr 22, 2020There are other functional interfaces you may be interested in, for example: Supplier<T> if you want to return a value of T without passing any parameters Function<T,R> if you want to pass a value of T and return a value of R Consumer<T> if you want to pass value T as a parameter and return void
Read More →