Interface CheckedPredicate<T,E extends java.lang.Exception>
-
- All Superinterfaces:
CheckedFunction<T,java.lang.Boolean,E>
,java.util.function.Function<T,java.lang.Boolean>
,java.util.function.Predicate<T>
- All Known Subinterfaces:
CheckedEolPredicate<T>
- 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 CheckedPredicate<T,E extends java.lang.Exception> extends java.util.function.Predicate<T>, CheckedFunction<T,java.lang.Boolean,E>
- Since:
- 1.6
- Author:
- Sina Madani
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.Boolean
applyThrows(T t)
default boolean
test(T t)
boolean
testThrows(T t)
-
Methods inherited from interface org.eclipse.epsilon.common.function.CheckedFunction
apply
-
-
-
-
Method Detail
-
applyThrows
default java.lang.Boolean applyThrows(T t) throws E extends java.lang.Exception
- Specified by:
applyThrows
in interfaceCheckedFunction<T,java.lang.Boolean,E extends java.lang.Exception>
- Throws:
E extends java.lang.Exception
-
test
default boolean test(T t) throws java.lang.RuntimeException
- Specified by:
test
in interfacejava.util.function.Predicate<T>
- Throws:
java.lang.RuntimeException
-
-