public class SubgraphMemberCondition extends java.lang.Object implements HGQueryCondition, HGAtomPredicate
Constructor and Description |
---|
SubgraphMemberCondition() |
SubgraphMemberCondition(HGHandle subgraphHandle) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object x) |
HGHandle |
getSubgraphHandle() |
int |
hashCode() |
boolean |
satisfies(HyperGraph graph,
HGHandle handle)
Check whether a given
Object satisfies this
query condition. |
void |
setSubgraphHandle(HGHandle subgraphHandle) |
java.lang.String |
toString() |
public SubgraphMemberCondition()
public SubgraphMemberCondition(HGHandle subgraphHandle)
public HGHandle getSubgraphHandle()
public void setSubgraphHandle(HGHandle subgraphHandle)
public boolean satisfies(HyperGraph graph, HGHandle handle)
HGAtomPredicate
Check whether a given Object
satisfies this
query condition.
satisfies
in interface HGAtomPredicate
graph
- The HyperGraph
instance.handle
- The atom on which to test the query condition.true
if the passed in parameter satisfies
the condition and false
otherwise.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