Package aQute.lib.exceptions
Interface PredicateWithException<T>
- Type Parameters:
T
- the type of the argument
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
Predicate interface that allows exceptions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Predicate<T>
asPredicate
(PredicateWithException<T> unchecked) Deprecated.static <T> Predicate<T>
asPredicateOrElse
(PredicateWithException<T> unchecked, boolean orElse) Deprecated.static <T> Predicate<T>
asPredicateOrElseGet
(PredicateWithException<T> unchecked, BooleanSupplier orElseGet) Deprecated.orElse
(boolean orElse) Deprecated.orElseGet
(BooleanSupplier orElseGet) Deprecated.Deprecated.boolean
Deprecated.
-
Method Details
-
test
Deprecated.- Throws:
Exception
-
orElseThrow
Deprecated. -
orElse
Deprecated. -
orElseGet
Deprecated. -
asPredicate
Deprecated. -
asPredicateOrElse
Deprecated. -
asPredicateOrElseGet
static <T> Predicate<T> asPredicateOrElseGet(PredicateWithException<T> unchecked, BooleanSupplier orElseGet) Deprecated.
-