Code example for Predicate

Methods: apply

0
    } 
 
    @Override 
    public boolean apply(NodeState node) {
        PropertyState property = node.getProperty(name);
        return property != null && propertyPredicate.apply(property);
    } 
}