| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| protected abstract String |
| substring | back to summary |
|---|---|
| protected final String substring | |
| SubstringMatcher | back to summary |
|---|---|
| protected SubstringMatcher(final String substring) | |
| 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.
| |
| relationship | back to summary |
|---|---|
| protected abstract String relationship() | |