| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final String | |
| protected final String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| public void | describeMismatchSafely(String item, Description mismatchDescription)
Overrides org. |
| public void | describeTo(Description
The description to be built or appended to. description)Implements org. |
| protected abstract boolean | |
| public boolean | matchesSafely(String item)
Implements abstract org. |
| ignoringCase | back to summary |
|---|---|
| private final boolean ignoringCase | |
| relationship | back to summary |
|---|---|
| private final String relationship | |
| substring | back to summary |
|---|---|
| protected final String substring | |
| SubstringMatcher | back to summary |
|---|---|
| protected SubstringMatcher(String relationship, boolean ignoringCase, String substring) | |
| converted | back to summary |
|---|---|
| protected String converted(String arg) | |
| describeMismatchSafely | back to summary |
|---|---|
| public void describeMismatchSafely(String item, Description mismatchDescription) Overrides org. Doc from org. Subclasses should override this. The item will already have been checked for the specific type and will never be null.
| |
| describeTo | back to summary |
|---|---|
| public void describeTo(Description description) Implements org. Doc from org. Generates a description of the object. The description may be part of a a description of a larger object of which this is just a component, so it should be worded appropriately.
| |
| evalSubstringOf | back to summary |
|---|---|
| protected abstract boolean evalSubstringOf(String string) | |
| matchesSafely | back to summary |
|---|---|
| public boolean matchesSafely(String item) Implements abstract org. Doc from org. Subclasses should implement this. The item will already have been checked for the specific type and will never be null.
| |