public abstract static class RandomGenerator.RandomGeneratorFacade
extends java.lang.Object
Constructor and Description |
---|
RandomGeneratorFacade() |
Modifier and Type | Method and Description |
---|---|
abstract <T> RandomGenerator<T> |
filter(RandomGenerator<T> self,
java.util.function.Predicate<T> filterPredicate) |
abstract <T,U> Shrinkable<U> |
flatMap(Shrinkable<T> wrappedShrinkable,
java.util.function.Function<T,Arbitrary<U>> mapper,
int genSize,
long nextLong) |
abstract <T,U> Shrinkable<U> |
flatMap(Shrinkable<T> self,
java.util.function.Function<T,RandomGenerator<U>> mapper,
long nextLong) |
abstract <T> RandomGenerator<T> |
unique(RandomGenerator<T> self) |
abstract <T> RandomGenerator<T> |
withEdgeCases(RandomGenerator<T> self,
int genSize,
java.util.List<Shrinkable<T>> edgeCases) |
abstract <T> RandomGenerator<T> |
withSamples(RandomGenerator<T> self,
T[] samples) |
public abstract <T,U> Shrinkable<U> flatMap(Shrinkable<T> self, java.util.function.Function<T,RandomGenerator<U>> mapper, long nextLong)
public abstract <T,U> Shrinkable<U> flatMap(Shrinkable<T> wrappedShrinkable, java.util.function.Function<T,Arbitrary<U>> mapper, int genSize, long nextLong)
public abstract <T> RandomGenerator<T> filter(RandomGenerator<T> self, java.util.function.Predicate<T> filterPredicate)
public abstract <T> RandomGenerator<T> withEdgeCases(RandomGenerator<T> self, int genSize, java.util.List<Shrinkable<T>> edgeCases)
public abstract <T> RandomGenerator<T> withSamples(RandomGenerator<T> self, T[] samples)
public abstract <T> RandomGenerator<T> unique(RandomGenerator<T> self)