public class PropertyPredicate extends java.lang.Object implements java.util.function.Predicate<NodeState>, com.google.common.base.Predicate<NodeState>
name and the given
propertyPredicate holds on that property.| Constructor and Description |
|---|
PropertyPredicate(@NotNull java.lang.String name,
@NotNull java.util.function.Predicate<PropertyState> propertyPredicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(NodeState node)
Deprecated.
use
test(NodeState) instead (see OAK-8874) |
boolean |
test(NodeState node) |
public PropertyPredicate(@NotNull
@NotNull java.lang.String name,
@NotNull
@NotNull java.util.function.Predicate<PropertyState> propertyPredicate)
name - name of the propertypropertyPredicate - predicate on the named propertypublic boolean test(NodeState node)
@Deprecated public boolean apply(NodeState node)
test(NodeState) instead (see OAK-8874)apply in interface com.google.common.base.Predicate<NodeState>Copyright © 2010 - 2023 Adobe. All Rights Reserved