Searched defs:iterableWithSize (Results 1 - 2 of 2) sorted by relevance

/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
H A DIsIterableWithSize.java31 * <pre>assertThat(Arrays.asList("foo", "bar"), iterableWithSize(equalTo(2)))</pre>
36 public static <E> Matcher<Iterable<E>> iterableWithSize(Matcher<? super Integer> sizeMatcher) { method in class:IsIterableWithSize
45 * <pre>assertThat(Arrays.asList("foo", "bar"), iterableWithSize(2))</pre>
50 public static <E> Matcher<Iterable<E>> iterableWithSize(int size) { method in class:IsIterableWithSize
51 return iterableWithSize(equalTo(size));
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
H A DMatchers.java1023 * <pre>assertThat(Arrays.asList("foo", "bar"), iterableWithSize(equalTo(2)))</pre>
1028 public static <E> org.hamcrest.Matcher<java.lang.Iterable<E>> iterableWithSize(org.hamcrest.Matcher<? super java.lang.Integer> sizeMatcher) { method in class:Matchers
1029 return org.hamcrest.collection.IsIterableWithSize.<E>iterableWithSize(sizeMatcher);
1037 * <pre>assertThat(Arrays.asList("foo", "bar"), iterableWithSize(2))</pre>
1042 public static <E> org.hamcrest.Matcher<java.lang.Iterable<E>> iterableWithSize(int size) { method in class:Matchers
1043 return org.hamcrest.collection.IsIterableWithSize.<E>iterableWithSize(size);

Completed in 77 milliseconds