public abstract class NodePredicates extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
NodePredicates.AndPredicate |
(package private) static class |
NodePredicates.ContradictionPredicate |
(package private) static class |
NodePredicates.EqualsPredicate |
(package private) static class |
NodePredicates.IsNotNullPredicate |
(package private) static class |
NodePredicates.IsNullPredicate |
static class |
NodePredicates.NegativeTypePredicate |
(package private) static class |
NodePredicates.NotEqualsPredicate |
(package private) static class |
NodePredicates.NotPredicate |
(package private) static class |
NodePredicates.OrPredicate |
static class |
NodePredicates.PositiveTypePredicate |
(package private) static class |
NodePredicates.TautologyPredicate |
Modifier and Type | Field and Description |
---|---|
private static NodePredicates.ContradictionPredicate |
CONTRADICTION |
private static NodePredicates.IsNotNullPredicate |
IS_NOT_NULL |
private static NodePredicates.IsNullPredicate |
IS_NULL |
private static NodePredicates.TautologyPredicate |
TAUTOLOGY |
Constructor and Description |
---|
NodePredicates() |
Modifier and Type | Method and Description |
---|---|
static NodePredicate |
alwaysFalse() |
static NodePredicate |
alwaysTrue() |
static NodePredicate |
equals(Node n) |
static NodePredicates.PositiveTypePredicate |
isA(Class<? extends Node> clazz) |
static NodePredicate |
isAInterface(Class<?> iface) |
static NodePredicates.NegativeTypePredicate |
isNotA(Class<? extends Node> clazz) |
static NodePredicate |
isNotAInterface(Class<?> iface) |
static NodePredicate |
isNotNull() |
static NodePredicate |
isNull() |
static NodePredicate |
not(NodePredicate a) |
private static final NodePredicates.TautologyPredicate TAUTOLOGY
private static final NodePredicates.ContradictionPredicate CONTRADICTION
private static final NodePredicates.IsNullPredicate IS_NULL
private static final NodePredicates.IsNotNullPredicate IS_NOT_NULL
public NodePredicates()
public static NodePredicate alwaysTrue()
public static NodePredicate alwaysFalse()
public static NodePredicate isNull()
public static NodePredicate isNotNull()
public static NodePredicate equals(Node n)
public static NodePredicate not(NodePredicate a)
public static NodePredicates.NegativeTypePredicate isNotA(Class<? extends Node> clazz)
public static NodePredicates.PositiveTypePredicate isA(Class<? extends Node> clazz)
public static NodePredicate isAInterface(Class<?> iface)
public static NodePredicate isNotAInterface(Class<?> iface)