public class WhereValueOf<T,ST>
extends org.hamcrest.BaseMatcher<T>
| Modifier | Constructor and Description |
|---|---|
protected |
WhereValueOf(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatch(Object item,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
static <T,ST> org.hamcrest.Matcher<T> |
element(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
elementMatches(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
protected Function<T,ST> |
mapper() |
protected String |
mapperDescription() |
boolean |
matches(Object item) |
protected org.hamcrest.Matcher<ST> |
subMatcher() |
static <T,ST> org.hamcrest.Matcher<T> |
valueOfMatches(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
whereValueOf(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
@Nonnull public static <T,ST> org.hamcrest.Matcher<T> whereValueOf(@Nonnull Function<T,ST> mapper, @Nonnull String mapperDescription, @Nonnull org.hamcrest.Matcher<ST> subMatcher)
@Nonnull public static <T,ST> org.hamcrest.Matcher<T> element(@Nonnull Function<T,ST> mapper, @Nonnull String mapperDescription, @Nonnull org.hamcrest.Matcher<ST> subMatcher)
@Nonnull public static <T,ST> org.hamcrest.Matcher<T> elementMatches(@Nonnull Function<T,ST> mapper, @Nonnull String mapperDescription, @Nonnull org.hamcrest.Matcher<ST> subMatcher)
@Nonnull public static <T,ST> org.hamcrest.Matcher<T> valueOfMatches(@Nonnull Function<T,ST> mapper, @Nonnull String mapperDescription, @Nonnull org.hamcrest.Matcher<ST> subMatcher)
public void describeTo(@Nonnull org.hamcrest.Description description)
public void describeMismatch(@Nullable Object item, @Nonnull org.hamcrest.Description description)
Copyright © 2017 echocat. All rights reserved.