java 8 stream go through object list and remove specific objects code example
Example: java stream remove
// there is no meaning to remove an item from a stream
// It only make sense to remove an item from a collection.
// Internally, removeIf uses an Iterator to iterate over the list and match
// the elements using the predicate
itemList.removeIf(isQualified);