@API(status=INTERNAL)
public abstract static class Arbitraries.ArbitrariesFacade
extends java.lang.Object
Constructor and Description |
---|
ArbitrariesFacade() |
Modifier and Type | Method and Description |
---|---|
abstract BigDecimalArbitrary |
bigDecimals() |
abstract BigIntegerArbitrary |
bigIntegers() |
abstract ByteArbitrary |
bytes() |
abstract CharacterArbitrary |
chars() |
abstract <T> Arbitrary<T> |
defaultFor(java.lang.Class<T> type,
java.lang.Class<?>[] typeParameters) |
abstract <T> Arbitrary<T> |
defaultFor(TypeUsage typeUsage) |
abstract DoubleArbitrary |
doubles() |
abstract java.util.Optional<ExhaustiveGenerator<java.lang.Character>> |
exhaustiveChoose(char[] values) |
abstract <T extends java.lang.Enum> |
exhaustiveChoose(java.lang.Class<T> enumClass) |
abstract <T> java.util.Optional<ExhaustiveGenerator<T>> |
exhaustiveChoose(java.util.List<T> values) |
abstract <T> java.util.Optional<ExhaustiveGenerator<java.util.List<T>>> |
exhaustiveShuffle(java.util.List<T> values) |
abstract FloatArbitrary |
floats() |
abstract <T> TypeArbitrary<T> |
forType(java.lang.Class<T> targetType) |
abstract <T> Arbitrary<T> |
frequencyOf(java.util.List<Tuple.Tuple2<java.lang.Integer,Arbitrary<T>>> frequencies) |
abstract IntegerArbitrary |
integers() |
abstract <T> Arbitrary<T> |
lazy(java.util.function.Supplier<Arbitrary<T>> arbitrarySupplier) |
abstract LongArbitrary |
longs() |
abstract <T> Arbitrary<T> |
oneOf(java.util.List<Arbitrary<T>> all) |
abstract RandomGenerator<java.lang.Character> |
randomChoose(char[] values) |
abstract <T extends java.lang.Enum> |
randomChoose(java.lang.Class<T> enumClass) |
abstract <T> RandomGenerator<T> |
randomChoose(java.util.List<T> values) |
abstract <T> RandomGenerator<T> |
randomFrequency(java.util.List<Tuple.Tuple2<java.lang.Integer,T>> frequencies) |
abstract <T> RandomGenerator<T> |
randomSamples(T[] samples) |
abstract <T> RandomGenerator<java.util.List<T>> |
randomShuffle(java.util.List<T> values) |
abstract <M> ActionSequenceArbitrary<M> |
sequences(Arbitrary<Action<M>> actionArbitrary) |
abstract ShortArbitrary |
shorts() |
abstract StringArbitrary |
strings() |
public abstract <T> RandomGenerator<T> randomChoose(java.util.List<T> values)
public abstract <T> java.util.Optional<ExhaustiveGenerator<T>> exhaustiveChoose(java.util.List<T> values)
public abstract RandomGenerator<java.lang.Character> randomChoose(char[] values)
public abstract java.util.Optional<ExhaustiveGenerator<java.lang.Character>> exhaustiveChoose(char[] values)
public abstract <T extends java.lang.Enum> RandomGenerator<T> randomChoose(java.lang.Class<T> enumClass)
public abstract <T extends java.lang.Enum> java.util.Optional<ExhaustiveGenerator<T>> exhaustiveChoose(java.lang.Class<T> enumClass)
public abstract <T> RandomGenerator<T> randomFrequency(java.util.List<Tuple.Tuple2<java.lang.Integer,T>> frequencies)
public abstract <T> RandomGenerator<T> randomSamples(T[] samples)
public abstract <T> RandomGenerator<java.util.List<T>> randomShuffle(java.util.List<T> values)
public abstract <T> java.util.Optional<ExhaustiveGenerator<java.util.List<T>>> exhaustiveShuffle(java.util.List<T> values)
public abstract <M> ActionSequenceArbitrary<M> sequences(Arbitrary<Action<M>> actionArbitrary)
public abstract <T> Arbitrary<T> frequencyOf(java.util.List<Tuple.Tuple2<java.lang.Integer,Arbitrary<T>>> frequencies)
public abstract IntegerArbitrary integers()
public abstract LongArbitrary longs()
public abstract BigIntegerArbitrary bigIntegers()
public abstract FloatArbitrary floats()
public abstract BigDecimalArbitrary bigDecimals()
public abstract DoubleArbitrary doubles()
public abstract ByteArbitrary bytes()
public abstract ShortArbitrary shorts()
public abstract StringArbitrary strings()
public abstract CharacterArbitrary chars()
public abstract <T> Arbitrary<T> defaultFor(java.lang.Class<T> type, java.lang.Class<?>[] typeParameters)
public abstract <T> Arbitrary<T> lazy(java.util.function.Supplier<Arbitrary<T>> arbitrarySupplier)
public abstract <T> TypeArbitrary<T> forType(java.lang.Class<T> targetType)