public class Not extends Object implements HGQueryCondition, HGAtomPredicate
A generic negating HGQueryCondition.
| Constructor and Description |
|---|
Not() |
Not(HGAtomPredicate negated) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object x) |
HGAtomPredicate |
getPredicate() |
int |
hashCode() |
boolean |
satisfies(HyperGraph hg,
HGHandle value)
Check whether a given
Object satisfies this
query condition. |
void |
setPredicate(HGAtomPredicate predicate) |
String |
toString() |
public Not()
public Not(HGAtomPredicate negated)
public boolean satisfies(HyperGraph hg, HGHandle value)
HGAtomPredicateCheck whether a given Object satisfies this
query condition.
satisfies in interface HGAtomPredicatehg - The HyperGraph instance.value - The atom on which to test the query condition.true if the passed in parameter satisfies
the condition and false otherwise.public HGAtomPredicate getPredicate()
public void setPredicate(HGAtomPredicate predicate)
Copyright © 2015. All rights reserved.