Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default void forEach(Consumer<? super T> action) {
- Objects.requireNonNull(action);
- for (T t : this) {
- action.accept(t);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement