abstract class ShortcutCombination<T> extends BaseMatcher<T>
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Iterable<Matcher<? super T>> |
matchers |
| Constructor and Description |
|---|
ShortcutCombination(java.lang.Iterable<Matcher<? super T>> matchers) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
describeTo(Description description)
Generates a description of the object.
|
void |
describeTo(Description description,
java.lang.String operator) |
abstract boolean |
matches(java.lang.Object o)
Evaluates the matcher for argument item.
|
protected boolean |
matches(java.lang.Object o,
boolean shortcut) |
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, isNotNull, toStringpublic abstract boolean matches(java.lang.Object o)
Matchero - the object against which the matcher is evaluated.true if item matches, otherwise false.BaseMatcherpublic abstract void describeTo(Description description)
SelfDescribingdescription - The description to be built or appended to.protected boolean matches(java.lang.Object o,
boolean shortcut)
public void describeTo(Description description, java.lang.String operator)