Package | Description |
---|---|
org.apache.commons.lang3.function |
Provides functional interfaces to complement those in
java.lang.function and utilities for working with Java
8 lambdas. |
org.apache.commons.lang3.stream |
Provides utility classes to complement those in
java.util.stream . |
Modifier and Type | Method and Description |
---|---|
static <E> Streams.FailableStream<E> |
Failable.stream(Collection<E> collection)
Converts the given collection into a
Streams.FailableStream . |
static <T> Streams.FailableStream<T> |
Failable.stream(Stream<T> stream)
Converts the given stream into a
Streams.FailableStream . |
Modifier and Type | Method and Description |
---|---|
static <T> Streams.FailableStream<T> |
Streams.failableStream(Collection<T> stream)
Converts the given
Collection into a Streams.FailableStream . |
static <T> Streams.FailableStream<T> |
Streams.failableStream(Stream<T> stream)
Converts the given
stream into a Streams.FailableStream . |
static <T> Streams.FailableStream<T> |
Streams.failableStream(T... values)
Shorthand for
Streams.failableStream(Streams.of(arrayValues)) . |
Streams.FailableStream<T> |
Streams.FailableStream.filter(FailablePredicate<T,?> predicate)
Returns a FailableStream consisting of the elements of this stream that match the given FailablePredicate.
|
<R> Streams.FailableStream<R> |
Streams.FailableStream.map(FailableFunction<T,R,?> mapper)
Returns a stream consisting of the results of applying the given function to the elements of this stream.
|
static <E> Streams.FailableStream<E> |
Streams.stream(Collection<E> collection)
Deprecated.
|
static <T> Streams.FailableStream<T> |
Streams.stream(Stream<T> stream)
Deprecated.
|
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.