Uses of Interface
org.apache.commons.io.function.IOStream
Package
Description
Provides IO-only related functional interfaces for lambda expressions and method references.
-
Uses of IOStream in org.apache.commons.io.function
Modifier and TypeMethodDescriptionstatic <T> IOStream<T>
Constructs a new IOStream for the given Stream.IOStream.distinct()
LikeStream.distinct()
.static <T> IOStream<T>
IOStream.empty()
This class' version ofStream.empty()
.IOStream.filter
(IOPredicate<? super T> predicate) default <R> IOStream<R>
IOStream.flatMap
(IOFunction<? super T, ? extends IOStream<? extends R>> mapper) static <T> IOStream<T>
IOStream.iterate
(T seed, IOUnaryOperator<T> f) LikeStream.iterate(Object, UnaryOperator)
but for IO.IOStream.limit
(long maxSize) LikeStream.limit(long)
.default <R> IOStream<R>
IOStream.map
(IOFunction<? super T, ? extends R> mapper) static <T> IOStream<T>
Null-safe version ofStreamSupport.stream(java.util.Spliterator, boolean)
.static <T> IOStream<T>
IOStream.of
(T t) Returns a sequentialIOStreamImpl
containing a single element.static <T> IOStream<T>
IOStream.of
(T... values) Null-safe version ofStream.of(Object[])
for an IO stream.IOStream.peek
(IOConsumer<? super T> action) IOStream.skip
(long n) LikeStream.skip(long)
.IOStream.sorted()
LikeStream.sorted()
.IOStream.sorted
(IOComparator<? super T> comparator) Modifier and TypeMethodDescriptiondefault <R> IOStream<R>
IOStream.flatMap
(IOFunction<? super T, ? extends IOStream<? extends R>> mapper)