public abstract class SubCharSequenceMatcher
extends <any>
SubstringMatcher
but generalized to CharSequence
instead
of CharSequence
.Modifier and Type | Field and Description |
---|---|
protected java.lang.CharSequence |
mSubstring |
Modifier | Constructor and Description |
---|---|
protected |
SubCharSequenceMatcher(java.lang.CharSequence substring) |
Modifier and Type | Method and Description |
---|---|
void |
describeMismatchSafely(java.lang.CharSequence item,
Description mismatchDescription) |
void |
describeTo(Description description) |
protected abstract boolean |
evalSubstringOf(java.lang.CharSequence string) |
boolean |
matchesSafely(java.lang.CharSequence item) |
protected abstract java.lang.CharSequence |
relationship() |
protected SubCharSequenceMatcher(java.lang.CharSequence substring)
public boolean matchesSafely(java.lang.CharSequence item)
public void describeMismatchSafely(java.lang.CharSequence item, Description mismatchDescription)
public void describeTo(Description description)
protected abstract boolean evalSubstringOf(java.lang.CharSequence string)
protected abstract java.lang.CharSequence relationship()