public class ContainsOnlyElementsThat<V,T> extends StreamBasedMatcherSupport<V,T>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ContainsOnlyElementsThat.Arrays |
static interface |
ContainsOnlyElementsThat.Iterables |
static interface |
ContainsOnlyElementsThat.Iterators |
static interface |
ContainsOnlyElementsThat.Spliterators |
static interface |
ContainsOnlyElementsThat.Streams |
MAXIMUM_MISMATCHES_TO_REPORT| Modifier | Constructor and Description |
|---|---|
protected |
ContainsOnlyElementsThat(Function<V,Stream<T>> mapper,
Iterable<org.hamcrest.Matcher<T>> matchers) |
protected |
ContainsOnlyElementsThat(Function<V,Stream<T>> mapper,
org.hamcrest.Matcher<T> firstMatcher,
org.hamcrest.Matcher<T>[] otherMatchers) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
description() |
protected boolean |
matches(Stream<T> items) |
collectMatchers, describeMismatch, describeMismatch, describeTo, mapper, matchers, matchesprotected ContainsOnlyElementsThat(@Nonnull Function<V,Stream<T>> mapper, @Nonnull org.hamcrest.Matcher<T> firstMatcher, @Nullable org.hamcrest.Matcher<T>[] otherMatchers)
protected boolean matches(@Nonnull Stream<T> items)
matches in class StreamBasedMatcherSupport<V,T>protected String description()
description in class StreamBasedMatcherSupport<V,T>Copyright © 2017 echocat. All rights reserved.