Package org.icij.datashare.function
Interface ThrowingConsumer<T>
-
- All Superinterfaces:
java.util.function.Consumer<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ThrowingConsumer<T> extends java.util.function.Consumer<T>
Created by julien on 6/21/16.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidaccept(T t)voidacceptThrows(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)
-
-
-
Method Detail
-
compose
default <V> ThrowingConsumer<V> compose(ThrowingFunction<? super V,? extends T> before)
-
compose
default <V> ThrowingConsumer<V> compose(java.util.function.Function<? super V,? extends T> before)
-
andThen
default ThrowingConsumer<T> andThen(ThrowingConsumer<? super T> after)
-
andThen
default ThrowingConsumer<T> andThen(java.util.function.Consumer<? super T> after)
- Specified by:
andThenin interfacejava.util.function.Consumer<T>
-
-