| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | describeTo(Description
The description to be built or appended to. description)Implements org. |
| public static Matcher | matchesPattern(Pattern pattern)
Creates a matcher of |
| public static Matcher | matchesPattern(String regex)
Creates a matcher of |
| protected boolean | matchesSafely(String item)
Implements abstract org. |
| pattern | back to summary |
|---|---|
| private final Pattern pattern | |
| MatchesPattern | back to summary |
|---|---|
| public MatchesPattern(Pattern pattern) | |
| 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.
| |
| matchesPattern | back to summary |
|---|---|
| public static Matcher Creates a matcher of | |
| matchesPattern | back to summary |
|---|---|
| public static Matcher Creates a matcher of | |
| matchesSafely | back to summary |
|---|---|
| protected 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.
| |