## Uses of Interface
org.apache.commons.io.function.IOStream

- Packages that use IOStream
  Package | Description
  --- | ---
  org.apache.commons.io.function | Provides IO-only related functional interfaces for lambda expressions and method references.

- - ### Uses of IOStream in org.apache.commons.io.function

    Methods in org.apache.commons.io.function that return IOStream
    Modifier and Type | Method and Description
    --- | ---
    `static <T> IOStream<T>` | IOStream.`adapt(Stream<T> stream)` Constructs a new IOStream for the given Stream.
    `default IOStream<T>` | IOStream.`distinct()` Like `Stream.distinct()`.
    `static <T> IOStream<T>` | IOStream.`empty()` This class' version of `Stream.empty()`.
    `default IOStream<T>` | IOStream.`filter(IOPredicate<? super T> predicate)` Like `Stream.filter(java.util.function.Predicate)`.
    `default <R> IOStream<R>` | IOStream.`flatMap(IOFunction<? super T,? extends IOStream<? extends R>> mapper)` Like `Stream.flatMap(java.util.function.Function)`.
    `static <T> IOStream<T>` | IOStream.`iterate(T seed, IOUnaryOperator<T> f)` Like `Stream.iterate(Object, UnaryOperator)` but for IO.
    `default IOStream<T>` | IOStream.`limit(long maxSize)` Like `Stream.limit(long)`.
    `default <R> IOStream<R>` | IOStream.`map(IOFunction<? super T,? extends R> mapper)` Like `Stream.map(java.util.function.Function)`.
    `static <T> IOStream<T>` | IOStream.`of(Iterable<T> values)` Null-safe version of `StreamSupport.stream(java.util.Spliterator, boolean)`.
    `static <T> IOStream<T>` | IOStream.`of(T... values)` Null-safe version of `Stream.of(Object[])` for an IO stream.
    `static <T> IOStream<T>` | IOStream.`of(T t)` Returns a sequential `IOStreamImpl` containing a single element.
    `default IOStream<T>` | IOStream.`peek(IOConsumer<? super T> action)` Like `Stream.peek(java.util.function.Consumer)`.
    `default IOStream<T>` | IOStream.`skip(long n)` Like `Stream.skip(long)`.
    `default IOStream<T>` | IOStream.`sorted()` Like `Stream.sorted()`.
    `default IOStream<T>` | IOStream.`sorted(IOComparator<? super T> comparator)` Like `Stream.sorted(java.util.Comparator)`.

    Method parameters in org.apache.commons.io.function with type arguments of type IOStream
    Modifier and Type | Method and Description
    --- | ---
    `default <R> IOStream<R>` | IOStream.`flatMap(IOFunction<? super T,? extends IOStream<? extends R>> mapper)` Like `Stream.flatMap(java.util.function.Function)`.

Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.