Home
last modified time | relevance | path

Searched refs:sizeMatcher (Results 1 – 5 of 5) sorted by relevance

/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
DIsCollectionWithSize.java14 public IsCollectionWithSize(Matcher<? super Integer> sizeMatcher) { in IsCollectionWithSize() argument
15 super(sizeMatcher, "a collection with size", "collection size"); in IsCollectionWithSize()
32 … public static <E> Matcher<Collection<? extends E>> hasSize(Matcher<? super Integer> sizeMatcher) { in hasSize() argument
33 return new IsCollectionWithSize<E>(sizeMatcher); in hasSize()
DIsArrayWithSize.java13 public IsArrayWithSize(Matcher<? super Integer> sizeMatcher) { in IsArrayWithSize() argument
14 super(sizeMatcher, "an array with size","array size"); in IsArrayWithSize()
31 public static <E> Matcher<E[]> arrayWithSize(Matcher<? super Integer> sizeMatcher) { in arrayWithSize() argument
32 return new IsArrayWithSize<E>(sizeMatcher); in arrayWithSize()
DIsIterableWithSize.java12 public IsIterableWithSize(Matcher<? super Integer> sizeMatcher) { in IsIterableWithSize() argument
13 super(sizeMatcher, "an iterable with size", "iterable size"); in IsIterableWithSize()
36 public static <E> Matcher<Iterable<E>> iterableWithSize(Matcher<? super Integer> sizeMatcher) { in iterableWithSize() argument
37 return new IsIterableWithSize<E>(sizeMatcher); in iterableWithSize()
DIsMapWithSize.java14 public IsMapWithSize(Matcher<? super Integer> sizeMatcher) { in IsMapWithSize() argument
15 super(sizeMatcher, "a map with size", "map size"); in IsMapWithSize()
32 … <K, V> Matcher<Map<? extends K, ? extends V>> aMapWithSize(Matcher<? super Integer> sizeMatcher) { in aMapWithSize() argument
33 return new IsMapWithSize<K, V>(sizeMatcher); in aMapWithSize()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java711 ….hamcrest.Matcher<E[]> arrayWithSize(org.hamcrest.Matcher<? super java.lang.Integer> sizeMatcher) { in arrayWithSize() argument
712 return org.hamcrest.collection.IsArrayWithSize.<E>arrayWithSize(sizeMatcher); in arrayWithSize()
747 …extends K,? extends V>> aMapWithSize(org.hamcrest.Matcher<? super java.lang.Integer> sizeMatcher) { in aMapWithSize() argument
748 return org.hamcrest.collection.IsMapWithSize.<K,V>aMapWithSize(sizeMatcher); in aMapWithSize()
783 …til.Collection<? extends E>> hasSize(org.hamcrest.Matcher<? super java.lang.Integer> sizeMatcher) { in hasSize() argument
784 return org.hamcrest.collection.IsCollectionWithSize.<E>hasSize(sizeMatcher); in hasSize()
1028 …a.lang.Iterable<E>> iterableWithSize(org.hamcrest.Matcher<? super java.lang.Integer> sizeMatcher) { in iterableWithSize() argument
1029 return org.hamcrest.collection.IsIterableWithSize.<E>iterableWithSize(sizeMatcher); in iterableWithSize()