Constructor and Description |
---|
ArbitraryFacade() |
Modifier and Type | Method and Description |
---|---|
abstract <T,A> SizableArbitrary<A> |
array(Arbitrary<T> elementArbitrary,
java.lang.Class<A> arrayClass) |
abstract <T,A> SizableArbitrary<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) |
abstract <T> SizableArbitrary<java.util.Iterator<T>> |
iterator(Arbitrary<T> elementArbitrary) |
abstract <T> SizableArbitrary<java.util.List<T>> |
list(Arbitrary<T> elementArbitrary) |
abstract <T> SizableArbitrary<java.util.List<T>> |
listOfUnique(Arbitrary<T> uniqueArbitrary) |
abstract <T> SizableArbitrary<java.util.Set<T>> |
set(Arbitrary<T> elementArbitrary) |
abstract <T> SizableArbitrary<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)
public abstract <T> SizableArbitrary<java.util.List<T>> list(Arbitrary<T> elementArbitrary)
public abstract <T> SizableArbitrary<java.util.List<T>> listOfUnique(Arbitrary<T> uniqueArbitrary)
public abstract <T> SizableArbitrary<java.util.Set<T>> set(Arbitrary<T> elementArbitrary)
public abstract <T> SizableArbitrary<java.util.stream.Stream<T>> stream(Arbitrary<T> elementArbitrary)
public abstract <T> SizableArbitrary<java.util.Iterator<T>> iterator(Arbitrary<T> elementArbitrary)
public abstract <T,A> SizableArbitrary<A> array(Arbitrary<T> elementArbitrary, java.lang.Class<A> arrayClass)
public abstract <T,A> SizableArbitrary<A> arrayOfUnique(Arbitrary<T> uniqueArbitrary, java.lang.Class<A> arrayClass)