| Modifier and Type | Method and Description |
|---|---|
static <T> StreamMatcher<T> |
allMatch(Predicate<T> predicate) |
static <T> StreamMatcher<T> |
anyMatch(Predicate<T> predicate) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(Stream<T> s) |
describeMismatch, describeMismatchSafely, matchespublic void describeTo(org.hamcrest.Description description)
public static <T> StreamMatcher<T> allMatch(Predicate<T> predicate)
public static <T> StreamMatcher<T> anyMatch(Predicate<T> predicate)
Copyright © 2018. All rights reserved.