Package | Description |
---|---|
org.apache.commons.io.function |
Provides IO-only related functional interfaces for lambda expressions and method references.
|
Modifier and Type | Field and Description |
---|---|
(package private) static IOBiConsumer |
Constants.IO_BI_CONSUMER
No-op singleton.
|
Modifier and Type | Method and Description |
---|---|
default IOBiConsumer<T,U> |
IOBiConsumer.andThen(IOBiConsumer<? super T,? super U> after)
Creates a composed
IOBiConsumer that performs, in sequence, this operation followed by the after
operation. |
static <T,U> IOBiConsumer<T,U> |
IOBiConsumer.noop()
Returns the no-op singleton.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <T,U> void |
Erase.accept(IOBiConsumer<T,U> consumer,
T t,
U u)
Delegates to the given
IOBiConsumer but erases its IOException for the compiler, while still throwing
the exception at runtime. |
static <T,U> void |
Uncheck.accept(IOBiConsumer<T,U> consumer,
T t,
U u)
Accepts an IO consumer with the given arguments.
|
default IOBiConsumer<T,U> |
IOBiConsumer.andThen(IOBiConsumer<? super T,? super U> after)
Creates a composed
IOBiConsumer that performs, in sequence, this operation followed by the after
operation. |
default <R> R |
IOStream.collect(IOSupplier<R> supplier,
IOBiConsumer<R,? super T> accumulator,
IOBiConsumer<R,R> combiner)
Like
Stream.collect(java.util.function.Supplier, java.util.function.BiConsumer, java.util.function.BiConsumer) . |
default <R> R |
IOStream.collect(IOSupplier<R> supplier,
IOBiConsumer<R,? super T> accumulator,
IOBiConsumer<R,R> combiner)
Like
Stream.collect(java.util.function.Supplier, java.util.function.BiConsumer, java.util.function.BiConsumer) . |