@FunctionalInterface
@API(status=STABLE,
since="1.0")
public interface Falsifier<T>
Modifier and Type | Method and Description |
---|---|
TryExecutionResult |
execute(T t) |
default FalsificationResult<T> |
falsify(Shrinkable<T> candidate) |
default <U> Falsifier<U> |
map(java.util.function.Function<U,T> mapper) |
default Falsifier<T> |
withFilter(java.util.function.Predicate<T> filter) |
default Falsifier<T> |
withPostFilter(java.util.function.Predicate<T> filter) |
@API(status=INTERNAL) TryExecutionResult execute(T t)
@API(status=INTERNAL) default FalsificationResult<T> falsify(Shrinkable<T> candidate)
@API(status=INTERNAL) default Falsifier<T> withFilter(java.util.function.Predicate<T> filter)
@API(status=INTERNAL) default Falsifier<T> withPostFilter(java.util.function.Predicate<T> filter)