public class IsEmptyIterable<E> extends TypeSafeMatcher<java.lang.Iterable<E>>
| Constructor and Description |
|---|
IsEmptyIterable() |
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatchSafely(java.lang.Iterable<E> iter,
Description mismatchDescription)
Subclasses should override this.
|
void |
describeTo(Description description)
Generates a description of the object.
|
static <E> Matcher<java.lang.Iterable<E>> |
emptyIterable()
Matches an empty iterable.
|
boolean |
matchesSafely(java.lang.Iterable<E> iterable)
Subclasses should implement this.
|
describeMismatch, matches_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringpublic boolean matchesSafely(java.lang.Iterable<E> iterable)
TypeSafeMatchermatchesSafely in class TypeSafeMatcher<java.lang.Iterable<E>>public void describeMismatchSafely(java.lang.Iterable<E> iter, Description mismatchDescription)
TypeSafeMatcherdescribeMismatchSafely in class TypeSafeMatcher<java.lang.Iterable<E>>public void describeTo(Description description)
SelfDescribingdescription - The description to be built or appended to.public static <E> Matcher<java.lang.Iterable<E>> emptyIterable()