Slide 22
Slide 22 text
Higher-order-function with lambda
Built in higher order functions, chainable pipelines and monad like
stuff
● java.util.Collections
○ Sort, binarySearch, min, max
● Java.util.stream (mostly pure functions)
○ map, reduce, filter, find, forEach, flatMap and so on
● Optional
○ ifPresent, orElse, filter, map and so on
● Anything that accepts anonymous classes