Searched refs:itemMatcher (Results 1 – 9 of 9) sorted by relevance
13 for (final Matcher<? super E> itemMatcher : itemMatchers) { in nullSafe()14 … matchers.add((Matcher<? super E>) (itemMatcher == null ? IsNull.nullValue() : itemMatcher)); in nullSafe()
335 final Matcher itemMatcher = weightSplitter.matcher(""); in add() local337 if (itemMatcher.reset(item).matches()) { in add()338 final ULocale language = new ULocale(itemMatcher.group(1)); in add()339 final double weight = Double.parseDouble(itemMatcher.group(2)); in add()
320 final Matcher itemMatcher = weightSplitter.matcher(""); in add() local322 if (itemMatcher.reset(item).matches()) { in add()323 final ULocale language = new ULocale(itemMatcher.group(1)); in add()324 final double weight = Double.parseDouble(itemMatcher.group(2)); in add()
41 public static <U> Matcher<Iterable<? extends U>> everyItem(final Matcher<U> itemMatcher) { in everyItem() argument42 return new Every<U>(itemMatcher); in everyItem()
69 public static <T> Matcher<Iterable<? super T>> hasItem(Matcher<? super T> itemMatcher) { in hasItem() argument70 return new IsCollectionContaining<>(itemMatcher); in hasItem()
90 ….hamcrest.Matcher<java.lang.Iterable<? extends U>> everyItem(org.hamcrest.Matcher<U> itemMatcher) { in everyItem() argument91 return org.hamcrest.core.Every.everyItem(itemMatcher); in everyItem()173 …crest.Matcher<java.lang.Iterable<? super T>> hasItem(org.hamcrest.Matcher<? super T> itemMatcher) { in hasItem() argument174 return org.hamcrest.core.IsCollectionContaining.<T>hasItem(itemMatcher); in hasItem()
30 final Matcher<Iterable<? super String>> itemMatcher = hasItem(equalTo("a")); in matchesACollectionThatContainsAnElementForTheGivenMatcher() local32 assertMatches("list containing 'a'", itemMatcher, asList("a", "b", "c")); in matchesACollectionThatContainsAnElementForTheGivenMatcher()
116 … public static <E> Matcher<Iterable<? extends E>> contains(final Matcher<? super E> itemMatcher) { in contains() argument117 return contains(new ArrayList<Matcher<? super E>>(asList(itemMatcher))); in contains()
176 ….hamcrest.Matcher<java.lang.Iterable<? extends U>> everyItem(org.hamcrest.Matcher<U> itemMatcher) { in everyItem() argument177 return org.hamcrest.core.Every.<U>everyItem(itemMatcher); in everyItem()259 …crest.Matcher<java.lang.Iterable<? super T>> hasItem(org.hamcrest.Matcher<? super T> itemMatcher) { in hasItem() argument260 return org.hamcrest.core.IsCollectionContaining.<T>hasItem(itemMatcher); in hasItem()870 …st.Matcher<java.lang.Iterable<? extends E>> contains(org.hamcrest.Matcher<? super E> itemMatcher) { in contains() argument871 return org.hamcrest.collection.IsIterableContainingInOrder.<E>contains(itemMatcher); in contains()