applyToAll
Applies the consumer to all non-null elements in the collection. If the consumer throws an exception for one element, that exception is re-thrown after applying to all elements, and later exceptions are suppressed.
Applies the consumer to all non-null elements in the collection. If the consumer throws an exception for one element, that exception is re-thrown after applying to all elements, and later exceptions are suppressed.