Lines Matching refs:anyOf

71    * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>
73 public static <T> org.hamcrest.core.AnyOf<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>> matchers) {
74 return org.hamcrest.core.AnyOf.<T>anyOf(matchers);
80 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>
82 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<? super T>... matchers) {
83 return org.hamcrest.core.AnyOf.<T>anyOf(matchers);
89 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>
91 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Matcher<? super T> second) {
92 return org.hamcrest.core.AnyOf.<T>anyOf(first, second);
98 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>
100 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Matcher<? super T> second, org.hamcrest.Matcher<? super T> third) {
101 return org.hamcrest.core.AnyOf.<T>anyOf(first, second, third);
107 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>
109 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Matcher<? super T> second, org.hamcrest.Matcher<? super T> third, org.hamcrest.Matcher<? super T> fourth) {
110 return org.hamcrest.core.AnyOf.<T>anyOf(first, second, third, fourth);
116 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>
118 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Matcher<? super T> second, org.hamcrest.Matcher<? super T> third, org.hamcrest.Matcher<? super T> fourth, org.hamcrest.Matcher<? super T> fifth) {
119 return org.hamcrest.core.AnyOf.<T>anyOf(first, second, third, fourth, fifth);
125 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>
127 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Matcher<? super T> second, org.hamcrest.Matcher<? super T> third, org.hamcrest.Matcher<? super T> fourth, org.hamcrest.Matcher<? super T> fifth, org.hamcrest.Matcher<? super T> sixth) {
128 return org.hamcrest.core.AnyOf.<T>anyOf(first, second, third, fourth, fifth, sixth);