Class PropertyPredicate

  • All Implemented Interfaces:
    Predicate<NodeState>

    public class PropertyPredicate
    extends Object
    implements Predicate<NodeState>
    Predicate on property values. This property holds if and only if the node has a property of the given name and the given propertyPredicate holds on that property.
    • Constructor Detail

      • PropertyPredicate

        public PropertyPredicate​(@NotNull
                                 @NotNull String name,
                                 @NotNull
                                 @NotNull Predicate<PropertyState> propertyPredicate)
        Parameters:
        name - name of the property
        propertyPredicate - predicate on the named property