public interface ShrinkingSequence<T>
Modifier and Type | Interface and Description |
---|---|
static class |
ShrinkingSequence.ShrinkingSequenceFacade |
Modifier and Type | Method and Description |
---|---|
default ShrinkingSequence<T> |
andThen(java.util.function.Function<Shrinkable<T>,ShrinkingSequence<T>> createFollowupSequence) |
FalsificationResult<T> |
current() |
static <T> ShrinkingSequence<T> |
dontShrink(Shrinkable<T> shrinkable) |
void |
init(FalsificationResult<T> initialCurrent) |
default <U> ShrinkingSequence<U> |
map(java.util.function.Function<FalsificationResult<T>,FalsificationResult<U>> mapper) |
default <U> ShrinkingSequence<U> |
mapValue(java.util.function.Function<T,U> mapper) |
boolean |
next(java.lang.Runnable count,
java.util.function.Consumer<FalsificationResult<T>> falsifiedReporter) |
static <T> ShrinkingSequence<T> dontShrink(Shrinkable<T> shrinkable)
boolean next(java.lang.Runnable count, java.util.function.Consumer<FalsificationResult<T>> falsifiedReporter)
FalsificationResult<T> current()
void init(FalsificationResult<T> initialCurrent)
default ShrinkingSequence<T> andThen(java.util.function.Function<Shrinkable<T>,ShrinkingSequence<T>> createFollowupSequence)
default <U> ShrinkingSequence<U> mapValue(java.util.function.Function<T,U> mapper)
default <U> ShrinkingSequence<U> map(java.util.function.Function<FalsificationResult<T>,FalsificationResult<U>> mapper)