Java 8 / Collection.removeif()

... Java 8 introduced the removeIf method as a default method [...] in the Collection interface. This new method 'removes all of the elements of this collection that satisfy the given predicate'

https://dzone.com/articles/towards-more-functional-java-using-lambdas-as-pred?edition=233183&utm_source=Spotlight&utm_medium=email&utm_campaign=java%202016-10-25

Comments