Constructor and Description |
---|
ArbitraryFacade() |
Modifier and Type | Method and Description |
---|---|
abstract <T,A> StreamableArbitrary<T,A> |
array(Arbitrary<T> elementArbitrary,
java.lang.Class<A> arrayClass) |
abstract <T,U> java.util.Optional<ExhaustiveGenerator<U>> |
flatMapExhaustiveGenerator(ExhaustiveGenerator<T> self,
java.util.function.Function<T,Arbitrary<U>> mapper,
long maxNumberOfSamples) |
abstract <T> IteratorArbitrary<T> |
iterator(Arbitrary<T> elementArbitrary) |
abstract <T> ListArbitrary<T> |
list(Arbitrary<T> elementArbitrary) |
abstract <T> java.util.stream.Stream<T> |
sampleStream(Arbitrary<T> arbitrary) |
abstract <T> SetArbitrary<T> |
set(Arbitrary<T> elementArbitrary) |
abstract <T> StreamArbitrary<T> |
stream(Arbitrary<T> elementArbitrary) |
public abstract <T,U> java.util.Optional<ExhaustiveGenerator<U>> flatMapExhaustiveGenerator(ExhaustiveGenerator<T> self, java.util.function.Function<T,Arbitrary<U>> mapper, long maxNumberOfSamples)
public abstract <T> ListArbitrary<T> list(Arbitrary<T> elementArbitrary)
public abstract <T> SetArbitrary<T> set(Arbitrary<T> elementArbitrary)
public abstract <T> StreamArbitrary<T> stream(Arbitrary<T> elementArbitrary)
public abstract <T> IteratorArbitrary<T> iterator(Arbitrary<T> elementArbitrary)
public abstract <T,A> StreamableArbitrary<T,A> array(Arbitrary<T> elementArbitrary, java.lang.Class<A> arrayClass)
public abstract <T> java.util.stream.Stream<T> sampleStream(Arbitrary<T> arbitrary)