org.apache.maven.scm
public class CollectionSizeMatcher<T> extends TypeSafeMatcher<Collection<T>>
Constructor and Description |
---|
CollectionSizeMatcher(int size) |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(Description desc) |
boolean |
matchesSafely(Collection<T> collection) |
static <T> Matcher<Collection<T>> |
size(int length,
Class<T> clazz) |
matches
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
public CollectionSizeMatcher(int size)
public boolean matchesSafely(Collection<T> collection)
matchesSafely
in class TypeSafeMatcher<Collection<T>>
public void describeTo(Description desc)
public static <T> Matcher<Collection<T>> size(int length, Class<T> clazz)
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.