Package | Description |
---|---|
org.apache.commons.lang3 |
Provides highly reusable static utility methods, chiefly concerned with adding value to the
java.lang classes. |
Modifier and Type | Method and Description |
---|---|
Streams.FailableStream<O> |
Streams.FailableStream.filter(Functions.FailablePredicate<O,?> predicate)
Returns a FailableStream consisting of the elements of this stream that match
the given FailablePredicate.
|
<R> Streams.FailableStream<R> |
Streams.FailableStream.map(Functions.FailableFunction<O,R,?> mapper)
Returns a stream consisting of the results of applying the given
function to the elements of this stream.
|
static <O> Streams.FailableStream<O> |
Functions.stream(Collection<O> collection)
Converts the given collection into a
Streams.FailableStream . |
static <O> Streams.FailableStream<O> |
Streams.stream(Collection<O> stream)
Converts the given
Collection into a Streams.FailableStream . |
static <O> Streams.FailableStream<O> |
Functions.stream(Stream<O> stream)
Converts the given stream into a
Streams.FailableStream . |
static <O> Streams.FailableStream<O> |
Streams.stream(Stream<O> stream)
Converts the given
stream into a Streams.FailableStream . |
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.