public static final class NodePredicates.NegativeTypePredicate extends Object implements NodePredicate
Modifier and Type | Field and Description |
---|---|
private NodePredicates.NegativeTypePredicate |
nor |
private Class<?> |
type |
Constructor and Description |
---|
NegativeTypePredicate(Class<?> type) |
NegativeTypePredicate(NodePredicates.PositiveTypePredicate a) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(Node n) |
NodePredicate |
negate() |
NodePredicates.NegativeTypePredicate |
nor(Class<? extends Node> clazz) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, or
private NodePredicates.NegativeTypePredicate nor
NegativeTypePredicate(Class<?> type)
public NegativeTypePredicate(NodePredicates.PositiveTypePredicate a)
public boolean apply(Node n)
apply
in interface NodePredicate
public NodePredicates.NegativeTypePredicate nor(Class<? extends Node> clazz)
public NodePredicate negate()
negate
in interface NodePredicate