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,A> StreamableArbitrary<T,A> |
arrayOfUnique(Arbitrary<T> uniqueArbitrary,
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> StreamableArbitrary<T,java.util.Iterator<T>> |
iterator(Arbitrary<T> elementArbitrary) |
abstract <T> StreamableArbitrary<T,java.util.List<T>> |
list(Arbitrary<T> elementArbitrary) |
abstract <T> StreamableArbitrary<T,java.util.List<T>> |
listOfUnique(Arbitrary<T> uniqueArbitrary) |
abstract <T> StreamableArbitrary<T,java.util.Set<T>> |
set(Arbitrary<T> elementArbitrary) |
abstract <T> StreamableArbitrary<T,java.util.stream.Stream<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> StreamableArbitrary<T,java.util.List<T>> list(Arbitrary<T> elementArbitrary)
public abstract <T> StreamableArbitrary<T,java.util.List<T>> listOfUnique(Arbitrary<T> uniqueArbitrary)
public abstract <T> StreamableArbitrary<T,java.util.Set<T>> set(Arbitrary<T> elementArbitrary)
public abstract <T> StreamableArbitrary<T,java.util.stream.Stream<T>> stream(Arbitrary<T> elementArbitrary)
public abstract <T> StreamableArbitrary<T,java.util.Iterator<T>> iterator(Arbitrary<T> elementArbitrary)
public abstract <T,A> StreamableArbitrary<T,A> array(Arbitrary<T> elementArbitrary, java.lang.Class<A> arrayClass)
public abstract <T,A> StreamableArbitrary<T,A> arrayOfUnique(Arbitrary<T> uniqueArbitrary, java.lang.Class<A> arrayClass)