public abstract class Condition<T>
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static interface |
Condition.Step<I,O> |
Modifier and Type | Field | Description |
---|---|---|
static org.hamcrest.Condition.NotMatched<java.lang.Object> |
NOT_MATCHED |
Modifier and Type | Method | Description |
---|---|---|
abstract <U> Condition<U> |
and(Condition.Step<? super T,U> mapping) |
|
static <T> Condition<T> |
matched(T theValue,
Description mismatch) |
|
boolean |
matching(Matcher<T> match) |
|
abstract boolean |
matching(Matcher<T> match,
java.lang.String message) |
|
static <T> Condition<T> |
notMatched() |
|
<U> Condition<U> |
then(Condition.Step<? super T,U> mapping) |
public static final org.hamcrest.Condition.NotMatched<java.lang.Object> NOT_MATCHED
public abstract <U> Condition<U> and(Condition.Step<? super T,U> mapping)
public final <U> Condition<U> then(Condition.Step<? super T,U> mapping)
public static <T> Condition<T> notMatched()
public static <T> Condition<T> matched(T theValue, Description mismatch)