public abstract class GridPredicateX<E1> extends Object implements GridPredicate<E1>
apply(Object) method that calls applyx(Object) method
and properly wraps GridException into GridClosureException instance.PX1,
Serialized Form| Constructor and Description |
|---|
GridPredicateX() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(E1 e)
Predicate body.
|
abstract boolean |
applyx(E1 e)
Predicate body that can throw
GridException. |
public boolean apply(E1 e)
apply in interface GridPredicate<E1>e - Predicate parameter.public abstract boolean applyx(E1 e) throws GridException
GridException.e - Bound free variable, i.e. the element the predicate is called or closed on.GridException - Thrown in case of any error condition inside of the predicate.Copyright © 2014. All rights reserved.