Class Predicates.ThrowingPredicateAdapter<T>
- java.lang.Object
-
- org.eclipse.collections.impl.block.predicate.checked.CheckedPredicate<T>
-
- org.eclipse.collections.impl.block.factory.Predicates.ThrowingPredicateAdapter<T>
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.function.Predicate<T>
,Predicate<T>
,ThrowingPredicate<T>
- Enclosing class:
- Predicates<T>
private static final class Predicates.ThrowingPredicateAdapter<T> extends CheckedPredicate<T>
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
private ThrowingPredicate<T>
throwingPredicate
-
Constructor Summary
Constructors Modifier Constructor Description private
ThrowingPredicateAdapter(ThrowingPredicate<T> throwingPredicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
safeAccept(T object)
-
Methods inherited from class org.eclipse.collections.impl.block.predicate.checked.CheckedPredicate
accept
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
throwingPredicate
private final ThrowingPredicate<T> throwingPredicate
-
-
Constructor Detail
-
ThrowingPredicateAdapter
private ThrowingPredicateAdapter(ThrowingPredicate<T> throwingPredicate)
-
-
Method Detail
-
safeAccept
public boolean safeAccept(T object) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-