@API(status=MAINTAINED, since="1.0") public class FalsificationResult<T> extends java.lang.Object implements java.lang.Comparable<FalsificationResult<T>>
Modifier and Type | Class and Description |
---|---|
static class |
FalsificationResult.Status |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FalsificationResult<T> other) |
ShrinkingDistance |
distance() |
static <T> FalsificationResult<T> |
falsified(Shrinkable<T> shrinkable) |
static <T> FalsificationResult<T> |
falsified(Shrinkable<T> shrinkable,
java.lang.Throwable throwable) |
FalsificationResult<T> |
filter(java.util.function.Predicate<T> filter) |
static <T> FalsificationResult<T> |
filtered(Shrinkable<T> shrinkable) |
<U> FalsificationResult<U> |
map(java.util.function.Function<Shrinkable<T>,Shrinkable<U>> mapper) |
static <T> FalsificationResult<T> |
notFalsified(Shrinkable<T> shrinkable) |
Shrinkable<T> |
shrinkable() |
FalsificationResult.Status |
status() |
java.util.Optional<java.lang.Throwable> |
throwable() |
java.lang.String |
toString() |
T |
value() |
public static <T> FalsificationResult<T> falsified(Shrinkable<T> shrinkable)
public static <T> FalsificationResult<T> falsified(Shrinkable<T> shrinkable, java.lang.Throwable throwable)
public static <T> FalsificationResult<T> notFalsified(Shrinkable<T> shrinkable)
public static <T> FalsificationResult<T> filtered(Shrinkable<T> shrinkable)
public Shrinkable<T> shrinkable()
public T value()
public ShrinkingDistance distance()
public FalsificationResult.Status status()
public java.util.Optional<java.lang.Throwable> throwable()
public int compareTo(FalsificationResult<T> other)
compareTo
in interface java.lang.Comparable<FalsificationResult<T>>
public FalsificationResult<T> filter(java.util.function.Predicate<T> filter)
public <U> FalsificationResult<U> map(java.util.function.Function<Shrinkable<T>,Shrinkable<U>> mapper)
public java.lang.String toString()
toString
in class java.lang.Object