@FunctionalInterface
@API(status=STABLE,
since="1.0")
public interface Falsifier<T>
extends java.util.function.Predicate<T>
Modifier and Type | Method and Description |
---|---|
default FalsificationResult<T> |
falsify(Shrinkable<T> candidate) |
default Falsifier<T> |
withFilter(java.util.function.Predicate<T> filter) |
default Falsifier<T> |
withPostFilter(java.util.function.Predicate<T> filter) |
@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)
@API(status=INTERNAL) default FalsificationResult<T> falsify(Shrinkable<T> candidate)