Uses of Interface
org.apache.commons.io.function.IOFunction
Packages that use IOFunction
Package
Description
Provides classes for working with streams, readers, writers and files.
Provides IO-only related functional interfaces for lambda expressions and method references.
Provides implementations of output classes, such as
OutputStream and
Writer.-
Uses of IOFunction in org.apache.commons.io
Methods in org.apache.commons.io with parameters of type IOFunctionModifier and TypeMethodDescription<T> TRandomAccessFileMode.apply(Path file, IOFunction<RandomAccessFile, T> function) Applies the given function for aRandomAccessFilespecified at the givenPath. -
Uses of IOFunction in org.apache.commons.io.function
Subinterfaces of IOFunction in org.apache.commons.io.functionMethods 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> IOBiFunction<T, U, V> IOBiFunction.andThen(IOFunction<? super R, ? extends V> after) Creates a composed function that 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 <X> IOQuadFunction<T, U, V, W, X> IOQuadFunction.andThen(IOFunction<? super R, ? extends X> after) Creates a composed function that first applies this function to its input, and then applies theafterfunction to the result.default <W> IOTriFunction<T, U, V, W> IOTriFunction.andThen(IOFunction<? super R, ? extends W> after) Creates a composed function that first applies this function to its input, and then applies theafterfunction to the result.static <T,R> R Uncheck.apply(IOFunction<T, R> function, T t) Applies an IO function with the given arguments.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.default <R> IOStream<R> IOStream.flatMap(IOFunction<? super T, ? extends IOStream<? extends R>> mapper) default DoubleStreamIOStream.flatMapToDouble(IOFunction<? super T, ? extends DoubleStream> mapper) TODO Package-private for now, needs IODoubleStream?default IntStreamIOStream.flatMapToInt(IOFunction<? super T, ? extends IntStream> mapper) TODO Package-private for now, needs IOIntStream?default LongStreamIOStream.flatMapToLong(IOFunction<? super T, ? extends LongStream> mapper) TODO Package-private for now, needs IOLongStream?default <R> IOStream<R> IOStream.map(IOFunction<? super T, ? extends R> mapper) -
Uses of IOFunction in org.apache.commons.io.output
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.