public class IsOneOf<T>
extends org.hamcrest.BaseMatcher<T>
| Modifier | Constructor and Description |
|---|---|
protected |
IsOneOf(Collection<T> expected) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
protected Collection<T> |
expected() |
static <T> org.hamcrest.Matcher<T> |
isAnyOf(Collection<T> expected) |
static <T> org.hamcrest.Matcher<T> |
isAnyOf(T... expected) |
static <T> org.hamcrest.Matcher<T> |
isOneOf(Collection<T> expected) |
static <T> org.hamcrest.Matcher<T> |
isOneOf(T... expected) |
boolean |
matches(Object item) |
protected IsOneOf(@Nonnull Collection<T> expected)
@SafeVarargs @Nonnull public static <T> org.hamcrest.Matcher<T> isOneOf(@Nonnull T... expected)
@Nonnull public static <T> org.hamcrest.Matcher<T> isOneOf(@Nonnull Collection<T> expected)
@SafeVarargs @Nonnull public static <T> org.hamcrest.Matcher<T> isAnyOf(@Nonnull T... expected)
@Nonnull public static <T> org.hamcrest.Matcher<T> isAnyOf(@Nonnull Collection<T> expected)
public void describeTo(@Nonnull org.hamcrest.Description description)
@Nonnull protected Collection<T> expected()
Copyright © 2017 echocat. All rights reserved.