Package net.jqwik.api
Class Shrinkable.ShrinkableFacade
java.lang.Object
net.jqwik.api.Shrinkable.ShrinkableFacade
- Enclosing interface:
- Shrinkable<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract <T> Shrinkable<T>
filter
(Shrinkable<T> self, Predicate<T> filter) abstract <T,
U> Shrinkable<U> flatMap
(Shrinkable<T> self, Function<T, Arbitrary<U>> flatMapper, int tries, long randomSeed) abstract <T,
U> Shrinkable<U> map
(Shrinkable<T> self, Function<T, U> mapper) abstract <T> Shrinkable<T>
unshrinkable
(Supplier<T> valueSupplier, ShrinkingDistance distance)
-
Constructor Details
-
ShrinkableFacade
public ShrinkableFacade()
-
-
Method Details
-
unshrinkable
public abstract <T> Shrinkable<T> unshrinkable(@Nullable Supplier<T> valueSupplier, ShrinkingDistance distance) -
map
-
filter
-
flatMap
public abstract <T,U> Shrinkable<U> flatMap(Shrinkable<T> self, Function<T, Arbitrary<U>> flatMapper, int tries, long randomSeed)
-