Uses of Class
org.apache.commons.lang3.stream.Streams.FailableStream
Package
Description
Provides functional interfaces to complement those in
java.lang.function
and utilities for working with Java
8 lambdas.Provides utility classes to complement those in
java.util.stream
.-
Uses of Streams.FailableStream in org.apache.commons.lang3.function
Modifier and TypeMethodDescriptionstatic <E> Streams.FailableStream<E>
Failable.stream
(Collection<E> collection) Converts the given collection into aStreams.FailableStream
.static <T> Streams.FailableStream<T>
Converts the given stream into aStreams.FailableStream
. -
Uses of Streams.FailableStream in org.apache.commons.lang3.stream
Modifier and TypeMethodDescriptionstatic <T> Streams.FailableStream<T>
Streams.failableStream
(Collection<T> stream) Converts the givenCollection
into aStreams.FailableStream
.static <T> Streams.FailableStream<T>
Streams.failableStream
(Stream<T> stream) Converts the givenstream
into aStreams.FailableStream
.static <T> Streams.FailableStream<T>
Streams.failableStream
(T value) Shorthand forStreams.failableStream(value == null ? Stream.empty() : Stream.of(value))
.static <T> Streams.FailableStream<T>
Streams.failableStream
(T... values) Shorthand forStreams.failableStream(Streams.of(arrayValues))
.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>
Deprecated.
Streams.failableStream(Collection)
.