Package net.jqwik.api
Class Arbitraries.ArbitrariesFacade
java.lang.Object
net.jqwik.api.Arbitraries.ArbitrariesFacade
- Enclosing class:
- Arbitraries
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract BigDecimalArbitrary
abstract BigIntegerArbitrary
abstract ByteArbitrary
bytes()
abstract CharacterArbitrary
chars()
abstract <T> Arbitrary<T>
abstract <T> Arbitrary<T>
defaultFor
(Class<T> type, Class<?>[] typeParameters) abstract <T> Arbitrary<T>
abstract DoubleArbitrary
doubles()
abstract FloatArbitrary
floats()
abstract <T> TypeArbitrary<T>
abstract <T> Arbitrary<T>
frequency
(List<Tuple.Tuple2<Integer, T>> frequencies) abstract <T> Arbitrary<T>
frequencyOf
(List<Tuple.Tuple2<Integer, Arbitrary<T>>> frequencies) abstract <T> Arbitrary<T>
fromGenerator
(RandomGenerator<T> generator) abstract IntegerArbitrary
integers()
abstract <T> Arbitrary<T>
just
(T value) abstract <T> Arbitrary<T>
abstract <T> Arbitrary<T>
abstract LongArbitrary
longs()
abstract <K,
V> MapArbitrary<K, V> of
(char[] chars) abstract <T> Arbitrary<T>
of
(Collection<T> values) abstract <T> Arbitrary<T>
oneOf
(Collection<Arbitrary<? extends T>> all) abstract <T> Arbitrary<T>
recursive
(Supplier<Arbitrary<T>> base, Function<Arbitrary<T>, Arbitrary<T>> recur, int minDepth, int maxDepth) abstract <M> ActionSequenceArbitrary<M>
abstract ShortArbitrary
shorts()
abstract StringArbitrary
strings()
abstract <T> TraverseArbitrary<T>
traverse
(Class<T> targetType, TraverseArbitrary.Traverser traverser)
-
Constructor Details
-
ArbitrariesFacade
public ArbitrariesFacade()
-
-
Method Details
-
oneOf
-
sequences
public abstract <M> ActionSequenceArbitrary<M> sequences(Arbitrary<? extends Action<M>> actionArbitrary) -
frequencyOf
-
just
-
integers
-
longs
-
bigIntegers
-
floats
-
bigDecimals
-
doubles
-
bytes
-
shorts
-
strings
-
chars
-
defaultFor
-
defaultFor
-
lazy
-
forType
-
maps
public abstract <K,V> MapArbitrary<K,V> maps(Arbitrary<K> keysArbitrary, Arbitrary<V> valuesArbitrary) -
entries
-
recursive
-
lazyOf
-
traverse
public abstract <T> TraverseArbitrary<T> traverse(Class<T> targetType, TraverseArbitrary.Traverser traverser) -
of
-
of
-
create
-
shuffle
-
fromGenerator
-
frequency
-