Interface ThrowingPredicate<T>
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
CheckedPredicate
,Predicates.ThrowingPredicateAdapter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ThrowingPredicate<T> extends java.io.Serializable
A functional interface that can be represented by a Lambda that can throw a CheckedException.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
safeAccept(T object)
-
-
-
Method Detail
-
safeAccept
boolean safeAccept(T object) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-