All Methods Instance Methods Abstract Methods
Modifier and Type |
Method and Description |
abstract <T,A> ArrayArbitrary<T,A> |
array(Arbitrary<T> elementArbitrary,
java.lang.Class<A> arrayClass) |
abstract <T> Arbitrary<java.util.List<T>> |
collect(Arbitrary<T> self,
java.util.function.Predicate<java.util.List<T>> until) |
abstract <T> Arbitrary<T> |
configureEdgeCases(Arbitrary<T> self,
java.util.function.Consumer<EdgeCases.Config<T>> configurator) |
abstract <T> Arbitrary<T> |
dontShrink(Arbitrary<T> self) |
abstract <T> Arbitrary<T> |
filter(Arbitrary<T> self,
java.util.function.Predicate<T> filterPredicate,
int maxMisses) |
abstract <T> Arbitrary<T> |
fixGenSize(Arbitrary<T> self,
int genSize) |
abstract <T,U> Arbitrary<U> |
flatMap(Arbitrary<T> self,
java.util.function.Function<T,Arbitrary<U>> mapper) |
abstract <T> Arbitrary<T> |
ignoreExceptions(Arbitrary<T> self,
int maxThrows,
java.lang.Class<? extends java.lang.Throwable>[] exceptionTypes) |
abstract <T> Arbitrary<T> |
injectNull(Arbitrary<T> self,
double nullProbability) |
abstract <T> IteratorArbitrary<T> |
iterator(Arbitrary<T> elementArbitrary) |
abstract <T> ListArbitrary<T> |
list(Arbitrary<T> elementArbitrary) |
abstract <T,U> Arbitrary<U> |
map(Arbitrary<T> self,
java.util.function.Function<T,U> mapper) |
abstract <T> RandomGenerator<T> |
memoizedGenerator(Arbitrary<T> self,
int genSize,
boolean withEdgeCases) |
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) |
abstract <T> Arbitrary<T> |
withoutEdgeCases(Arbitrary<T> self) |