Package net.jqwik.api
Klasse Shrinkable.ShrinkableFacade
java.lang.Object
net.jqwik.api.Shrinkable.ShrinkableFacade
- Umschließende Schnittstelle:
Shrinkable<T extends @Nullable Object>
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract <T extends @Nullable Object>
Shrinkable<T> filter
(Shrinkable<T> self, Predicate<? super T> filter) abstract <T extends @Nullable Object,
U extends @Nullable Object>
Shrinkable<U> flatMap
(Shrinkable<T> self, Function<? super T, ? extends Arbitrary<U>> flatMapper, int tries, long randomSeed) abstract <T extends @Nullable Object,
U extends @Nullable Object>
Shrinkable<U> map
(Shrinkable<T> self, Function<? super T, ? extends U> mapper) abstract <T extends @Nullable Object>
Shrinkable<T> unshrinkable
(Supplier<? extends T> valueSupplier, ShrinkingDistance distance)
-
Konstruktordetails
-
ShrinkableFacade
public ShrinkableFacade()
-
-
Methodendetails
-
unshrinkable
public abstract <T extends @Nullable Object> Shrinkable<T> unshrinkable(Supplier<? extends T> valueSupplier, ShrinkingDistance distance) -
map
public abstract <T extends @Nullable Object,U extends @Nullable Object> Shrinkable<U> map(Shrinkable<T> self, Function<? super T, ? extends U> mapper) -
filter
public abstract <T extends @Nullable Object> Shrinkable<T> filter(Shrinkable<T> self, Predicate<? super T> filter) -
flatMap
public abstract <T extends @Nullable Object,U extends @Nullable Object> Shrinkable<U> flatMap(Shrinkable<T> self, Function<? super T, ? extends Arbitrary<U>> flatMapper, int tries, long randomSeed)
-