protected abstract static class ComposableBase.BinaryMatcher extends ComposableBase
Modifier and Type | Class and Description |
---|---|
static class |
ComposableBase.BinaryMatcher.And |
static class |
ComposableBase.BinaryMatcher.Or |
static class |
ComposableBase.BinaryMatcher.Xor |
ComposableBase.BinaryMatcher, ComposableBase.Identity, ComposableBase.Inverse
Modifier and Type | Field and Description |
---|---|
protected Matcher |
_a |
protected Matcher |
_b |
FALSE, TRUE
Modifier | Constructor and Description |
---|---|
protected |
BinaryMatcher(Matcher a,
Matcher b) |
Modifier and Type | Method and Description |
---|---|
static ComposableMatcher |
and(Matcher a,
Matcher b) |
Matcher[] |
getChildMatchers()
Return an array of all Matchers that are immediate descendants of this one, or an empty array if
there are none.
|
Matcher |
getLhs() |
java.lang.String |
getOperandName() |
Matcher |
getRhs() |
static ComposableMatcher |
or(Matcher a,
Matcher b) |
void |
setLhs(Matcher m) |
void |
setRhs(Matcher m) |
java.lang.String |
toString() |
static ComposableMatcher |
xor(Matcher a,
Matcher b) |
public static ComposableMatcher and(Matcher a, Matcher b)
public Matcher[] getChildMatchers()
ComposableMatcher
getChildMatchers
in interface ComposableMatcher
getChildMatchers
in class ComposableBase
public Matcher getLhs()
public java.lang.String getOperandName()
public Matcher getRhs()
public static ComposableMatcher or(Matcher a, Matcher b)
public void setLhs(Matcher m)
public void setRhs(Matcher m)
public java.lang.String toString()
toString
in class ComposableBase
public static ComposableMatcher xor(Matcher a, Matcher b)