Uses of Interface
org.apache.commons.io.function.IOFunction
Packages that use IOFunction
Package
Description
This package defines IO-only related functional interfaces for lambda expressions and method references.
This package provides implementations of output classes, such as
OutputStream and Writer.-
Uses of IOFunction in org.apache.commons.io.function
Methods in org.apache.commons.io.function that return IOFunctionModifier and TypeMethodDescriptiondefault <V> IOFunction<T,V> Returns a composedIOFunctionthat first applies this function to its input, and then applies theafterfunction to the result.default <V> IOFunction<T,V> IOFunction.andThen(IOFunction<? super R, ? extends V> after) Returns a composedIOFunctionthat first applies this function to its input, and then applies theafterfunction to the result.default <V> IOFunction<V,R> Returns a composedIOFunctionthat first applies thebeforefunction to its input, and then applies this function to the result.default <V> IOFunction<V,R> IOFunction.compose(IOFunction<? super V, ? extends T> before) Returns a composedIOFunctionthat first applies thebeforefunction to its input, and then applies this function to the result.static <T> IOFunction<T,T> IOFunction.identity()Returns aIOFunctionthat always returns its input argument.Methods in org.apache.commons.io.function with parameters of type IOFunctionModifier and TypeMethodDescriptiondefault <V> IOFunction<T,V> IOFunction.andThen(IOFunction<? super R, ? extends V> after) Returns a composedIOFunctionthat first applies this function to its input, and then applies theafterfunction to the result.default <V> IOFunction<V,R> IOFunction.compose(IOFunction<? super V, ? extends T> before) Returns a composedIOFunctionthat first applies thebeforefunction to its input, and then applies this function to the result. -
Uses of IOFunction in org.apache.commons.io.output
Fields in org.apache.commons.io.output declared as IOFunctionModifier and TypeFieldDescriptionprivate static final IOFunction<ThresholdingOutputStream,OutputStream> ThresholdingOutputStream.NOOP_OS_GETTERNoop output stream getter function.private final IOFunction<ThresholdingOutputStream,OutputStream> ThresholdingOutputStream.outputStreamGetterGets the output stream.Constructors in org.apache.commons.io.output with parameters of type IOFunctionModifierConstructorDescriptionThresholdingOutputStream(int threshold, IOConsumer<ThresholdingOutputStream> thresholdConsumer, IOFunction<ThresholdingOutputStream, OutputStream> outputStreamGetter) Constructs an instance of this class which will trigger an event at the specified threshold.