For forEachno need, a lambda expression will work on all elements of the set
ints.removeIf(i -> i%2==0)
removeIf : "Removes all elements of this collection that satisfy this predicate"
Simply...
(i) (ints) , (removeIf) (i%2==0) true. true, - .