| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | describeTo(Description
The description to be built or appended to. description)Redeclares org. |
| public void | |
| public abstract boolean | matches(Object
the object against which the matcher is evaluated. o)Redeclares org. |
| protected boolean |
| matchers | back to summary |
|---|---|
| private final Iterable<Matcher<? super T>> matchers | |
| ShortcutCombination | back to summary |
|---|---|
| public ShortcutCombination(Iterable<Matcher<? super T>> matchers) | |
| describeTo | back to summary |
|---|---|
| public abstract void describeTo(Description description) Redeclares 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.
| |
| describeTo | back to summary |
|---|---|
| public void describeTo(Description description, String operator) | |
| matches | back to summary |
|---|---|
| public abstract boolean matches(Object o) Redeclares org. Doc from org. Evaluates the matcher for argument item. This method matches against Object, instead of the generic type T. This is because the caller of the Matcher does not know at runtime what the type is (because of type erasure with Java generics). It is down to the implementations to check the correct type. | |
| matches | back to summary |
|---|---|
| protected boolean matches(Object o, boolean shortcut) | |