public class NotPredicate extends UnaryPredicate
Constructor and Description |
---|
NotPredicate(Predicate predicate) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Resource resource)
Evaluate the predicate for the given resource.
|
String |
getOperator() |
accept, equals, getPredicate, getPropertyIds, hashCode, toString
public NotPredicate(Predicate predicate)
public boolean evaluate(Resource resource)
Predicate
resource
- the resource to evaluate the predicate againstpublic String getOperator()
getOperator
in class UnaryPredicate
Copyright © 2022 Apache Software Foundation. All rights reserved.