Lines Matching defs:matcher
16 * @return A matcher matching any collection containing element
24 * @return A matcher matching any collection containing an element matching elementMatcher
32 * @return A matcher matching any collection containing every element in elements
40 * @return A matcher matching any collection containing at least one element that matches
41 * each matcher in elementMatcher (this may be one element matching all matchers,
42 * or different elements matching each matcher)
50 * @return A matcher matching any collection in which every element matches elementMatcher
58 * @return a matcher matching any string that contains substring
70 public static <T> CombinableMatcher<T> both(Matcher<T> matcher) {
71 return new CombinableMatcher<T>(matcher);
80 public static <T> CombinableMatcher<T> either(Matcher<T> matcher) {
81 return new CombinableMatcher<T>(matcher);