Class NotP<V>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.process.traversal.P<V>
- 
- org.apache.tinkerpop.gremlin.process.traversal.NotP<V>
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Predicate<V>
 
 public class NotP<V> extends P<V> A NotP wraps a P and represents its negation. This class provides the logical NOT operation for predicates, inverting the result of the wrapped predicate's test method.- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classNotP.NotPBiPredicate<T,U>A NotPBiPredicate wraps a PBiPredicate and represents its negation.
 - 
Field Summary- 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.PbiPredicate, literals, variables
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description P<V>clone()VgetValue()Gets the current value to be passed to the predicate for testing.P<V>negate()Returns the original unwrapped P contained within this NotP, as double negation cancels out.voidsetValue(V value)StringtoString()- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.Pand, between, between, eq, eq, equals, getBiPredicate, getGValues, getPredicateName, gt, gt, gte, gte, hashCode, inside, inside, isParameterized, lt, lt, lte, lte, neq, neq, not, or, outside, outside, test, test, typeOf, typeOf, typeOf, updateVariable, within, within, within, without, without, without
 
- 
 
-