public class SubgraphContainsCondition extends java.lang.Object implements HGQueryCondition, HGAtomPredicate
Constructor and Description |
---|
SubgraphContainsCondition() |
SubgraphContainsCondition(HGHandle atom) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object x) |
HGHandle |
getAtom() |
int |
hashCode() |
boolean |
satisfies(HyperGraph graph,
HGHandle subgHdl)
Check whether a given
Object satisfies this
query condition. |
void |
setAtom(HGHandle atom) |
java.lang.String |
toString() |
public SubgraphContainsCondition()
public SubgraphContainsCondition(HGHandle atom)
public boolean satisfies(HyperGraph graph, HGHandle subgHdl)
HGAtomPredicate
Check whether a given Object
satisfies this
query condition.
satisfies
in interface HGAtomPredicate
graph
- The HyperGraph
instance.subgHdl
- The atom on which to test the query condition.true
if the passed in parameter satisfies
the condition and false
otherwise.public HGHandle getAtom()
public void setAtom(HGHandle atom)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object x)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object