@FunctionalInterface public interface ThrowingConsumer<T> extends java.util.function.Consumer<T>
| Modifier and Type | Method and Description |
|---|---|
default void |
accept(T t) |
void |
acceptThrows(T t) |
default ThrowingConsumer<T> |
andThen(java.util.function.Consumer<? super T> after) |
default ThrowingConsumer<T> |
andThen(ThrowingConsumer<? super T> after) |
default <V> ThrowingConsumer<V> |
compose(java.util.function.Function<? super V,? extends T> before) |
default <V> ThrowingConsumer<V> |
compose(ThrowingFunction<? super V,? extends T> before) |
default void accept(T t)
accept in interface java.util.function.Consumer<T>default <V> ThrowingConsumer<V> compose(ThrowingFunction<? super V,? extends T> before)
default <V> ThrowingConsumer<V> compose(java.util.function.Function<? super V,? extends T> before)
default ThrowingConsumer<T> andThen(ThrowingConsumer<? super T> after)
default ThrowingConsumer<T> andThen(java.util.function.Consumer<? super T> after)
andThen in interface java.util.function.Consumer<T>Copyright © 2020 ICIJ. All rights reserved.