Tuesday, August 9, 2016

Functional Java with Stream, Filter, Map and Collect

I played around with exercises from chapter 2 of "Java 8 in Action". I modified the example that uses stream(), filter(), map() and collect() and I added a predicate that uses enums.