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 |
---|---|
boolean |
Streams.FailableStream.allMatch(Functions.FailablePredicate<O,?> predicate)
Deprecated.
Returns whether all elements of this stream match the provided predicate.
|
boolean |
Streams.FailableStream.anyMatch(Functions.FailablePredicate<O,?> predicate)
Deprecated.
Returns whether any elements of this stream match the provided
predicate.
|
static <I> Predicate<I> |
Functions.asPredicate(Functions.FailablePredicate<I,?> predicate)
Deprecated.
Converts the given
Functions.FailablePredicate into a standard Predicate . |
Streams.FailableStream<O> |
Streams.FailableStream.filter(Functions.FailablePredicate<O,?> predicate)
Deprecated.
Returns a FailableStream consisting of the elements of this stream that match
the given FailablePredicate.
|
static <O,T extends Throwable> |
Functions.test(Functions.FailablePredicate<O,T> predicate,
O object)
Deprecated.
Tests a predicate and rethrows any exception as a
RuntimeException . |
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.