@API(status=INTERNAL)
public abstract static class Shrinkable.ShrinkableFacade
extends java.lang.Object
Constructor and Description |
---|
ShrinkableFacade() |
Modifier and Type | Method and Description |
---|---|
abstract <T> Shrinkable<T> |
filter(Shrinkable<T> self,
java.util.function.Predicate<T> filter) |
abstract <T,U> Shrinkable<U> |
flatMap(Shrinkable<T> self,
java.util.function.Function<T,Arbitrary<U>> flatMapper,
int tries,
long randomSeed) |
abstract <T,U> Shrinkable<U> |
map(Shrinkable<T> self,
java.util.function.Function<T,U> mapper) |
abstract <T> Shrinkable<T> |
unshrinkable(T value,
ShrinkingDistance distance) |
public abstract <T> Shrinkable<T> unshrinkable(T value, ShrinkingDistance distance)
public abstract <T,U> Shrinkable<U> map(Shrinkable<T> self, java.util.function.Function<T,U> mapper)
public abstract <T> Shrinkable<T> filter(Shrinkable<T> self, java.util.function.Predicate<T> filter)
public abstract <T,U> Shrinkable<U> flatMap(Shrinkable<T> self, java.util.function.Function<T,Arbitrary<U>> flatMapper, int tries, long randomSeed)