public class CombinedMappingMatcher<V,T>
extends org.hamcrest.BaseMatcher<V>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CombinedMappingMatcher.StreamMatcher<T> |
| Modifier and Type | Field and Description |
|---|---|
protected static int |
MAXIMUM_MISMATCHES_TO_REPORT |
| Constructor and Description |
|---|
CombinedMappingMatcher(Function<V,Stream<T>> mapper,
Iterable<? extends org.hamcrest.Matcher<T>> matchers,
CombinedMappingMatcher.StreamMatcher<T> streamMatcher,
String description) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Iterable<org.hamcrest.Matcher<T>> |
collectMatchers(org.hamcrest.Matcher<T> firstMatcher,
org.hamcrest.Matcher<T>... otherMatchers) |
void |
describeMismatch(Object item,
org.hamcrest.Description description) |
protected void |
describeMismatch(Stream<T> items,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
protected String |
description() |
protected Function<V,Stream<T>> |
mapper() |
protected Iterable<? extends org.hamcrest.Matcher<T>> |
matchers() |
boolean |
matches(Object item) |
protected CombinedMappingMatcher.StreamMatcher<T> |
streamMatcher() |
@Nonnegative protected static final int MAXIMUM_MISMATCHES_TO_REPORT
@SafeVarargs @Nonnull public static <T> Iterable<org.hamcrest.Matcher<T>> collectMatchers(@Nonnull org.hamcrest.Matcher<T> firstMatcher, @Nullable org.hamcrest.Matcher<T>... otherMatchers)
public void describeMismatch(@Nullable Object item, @Nonnull org.hamcrest.Description description)
protected void describeMismatch(@Nonnull Stream<T> items, @Nonnull org.hamcrest.Description description)
public void describeTo(@Nonnull org.hamcrest.Description description)
@Nonnull protected CombinedMappingMatcher.StreamMatcher<T> streamMatcher()
Copyright © 2017 echocat. All rights reserved.