Matcher.DefaultImpls| Constructor and Description |
|---|
ConstantMatcher(boolean constValue)
Matcher that always returns one same value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
component1() |
ConstantMatcher<T> |
copy(boolean constValue)
Matcher that always returns one same value.
|
boolean |
equals(java.lang.Object p) |
boolean |
getConstValue() |
int |
hashCode() |
boolean |
match(T arg) |
java.lang.String |
toString() |
match, substitutepublic ConstantMatcher(boolean constValue)
Matcher that always returns one same value.
public boolean match(T arg)
public java.lang.String toString()
public boolean getConstValue()
public boolean component1()
public ConstantMatcher<T> copy(boolean constValue)
Matcher that always returns one same value.
public int hashCode()
public boolean equals(java.lang.Object p)