public class AtomValueRegExPredicate extends AtomRegExPredicate
Constructor and Description |
---|
AtomValueRegExPredicate() |
AtomValueRegExPredicate(java.util.regex.Pattern pattern) |
Modifier and Type | Method and Description |
---|---|
boolean |
satisfies(HyperGraph hg,
HGHandle handle)
Check whether a given
Object satisfies this
query condition. |
java.lang.String |
toString() |
equals, getPattern, hashCode, satisfies, setPattern
public AtomValueRegExPredicate()
public AtomValueRegExPredicate(java.util.regex.Pattern pattern)
public boolean satisfies(HyperGraph hg, HGHandle handle)
HGAtomPredicate
Check whether a given Object
satisfies this
query condition.
hg
- 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 java.lang.String toString()
toString
in class java.lang.Object