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, toStringpublic NotPredicate(Predicate predicate)
public boolean evaluate(Resource resource)
Predicateresource - the resource to evaluate the predicate againstpublic String getOperator()
getOperator in class UnaryPredicateCopyright © 2022 Apache Software Foundation. All rights reserved.