...69 * <p/>70 * For example:71 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>72 */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);75 }76 /**77 * Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.78 * <p/>79 * For example:80 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>81 */82 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) {83 return org.hamcrest.core.AnyOf.<T>anyOf(first, second, third);84 }85 /**86 * Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.87 * <p/>88 * For example:89 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>90 */91 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) {92 return org.hamcrest.core.AnyOf.<T>anyOf(first, second, third, fourth);93 }94 /**95 * Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.96 * <p/>97 * For example:98 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>99 */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, org.hamcrest.Matcher<? super T> fourth, org.hamcrest.Matcher<? super T> fifth) {101 return org.hamcrest.core.AnyOf.<T>anyOf(first, second, third, fourth, fifth);102 }103 /**104 * Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.105 * <p/>106 * For example:107 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>108 */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, org.hamcrest.Matcher<? super T> fifth, org.hamcrest.Matcher<? super T> sixth) {110 return org.hamcrest.core.AnyOf.<T>anyOf(first, second, third, fourth, fifth, sixth);111 }112 /**113 * Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.114 * <p/>115 * For example:116 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>117 */118 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Matcher<? super T> second) {119 return org.hamcrest.core.AnyOf.<T>anyOf(first, second);120 }121 /**122 * Creates a matcher that matches if the examined object matches <b>ANY</b> of the specified matchers.123 * <p/>124 * For example:125 * <pre>assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))</pre>126 */127 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<? super T>... matchers) {128 return org.hamcrest.core.AnyOf.<T>anyOf(matchers);129 }130 /**131 * Creates a matcher that matches when both of the specified matchers match the examined object.132 * <p/>133 * For example:134 * <pre>assertThat("fab", both(containsString("a")).and(containsString("b")))</pre>135 */136 public static <LHS> org.hamcrest.core.CombinableMatcher.CombinableBothMatcher<LHS> both(org.hamcrest.Matcher<? super LHS> matcher) {137 return org.hamcrest.core.CombinableMatcher.<LHS>both(matcher);138 }139 /**140 * Creates a matcher that matches when either of the specified matchers match the examined object.141 * <p/>142 * For example:
...