public interface Consumer<T> extends Throwables.Consumer<T,RuntimeException>, Consumer<T>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t) |
default Consumer<T> |
andThen(Consumer<? super T> after) |
default <E extends Throwable> |
toThrowable() |
void accept(T t)
accept in interface Consumer<T>accept in interface Throwables.Consumer<T,RuntimeException>default <E extends Throwable> Throwables.Consumer<T,E> toThrowable()
Copyright © 2021. All rights reserved.