Uses of Interface
com.pholser.junit.quickcheck.generator.Gen
Packages that use Gen
Package
Description
-
Uses of Gen in com.pholser.junit.quickcheck.generator
Classes in com.pholser.junit.quickcheck.generator that implement GenModifier and TypeClassDescriptionclassProduces values for property parameters of types that have parameterizations that would also need generation, such as collections, maps, and predicates.classCtor<T>Produces instances of a class by generating values for the parameters of one of the constructors on the class, and invoking the constructor.classDecimalGenerator<T extends Number>Base class for generators of decimal types, such asdoubleandBigDecimal.classFields<T>Produces instances of a class by reflecting the class's fields and generating random values for them.classGenerator<T>Produces values for property parameters.classIntegralGenerator<T extends Number>Base class for generators of integral types, such asintandBigInteger.classProduces values for property parameters of typevoidorVoid.Methods in com.pholser.junit.quickcheck.generator that return GenModifier and TypeMethodDescriptionGives a generation strategy that produces a random value by having this strategy produce random values until one satisfies the given condition, then using that value as the result.Gen.filterOptional(Predicate<? super T> condition) default <U> Gen<U>Gives a generation strategy that produces a random value by having this strategy produce a random value, then applying the given function to that value, and asking the result to produce a value.static <U> Gen<U>Gives a generation strategy that produces a random value by choosing one of the given generators at random with probability in proportion to their given weights, and having it generate a value.default <U> Gen<U>Gives a generation strategy that produces a random value by having this strategy produce a random value, then applying the given function to that value, and returning the result.static <U> Gen<U>Gives a generation strategy that produces a random value by choosing one of the given generators at random with (approximately) equal probability, and having it generate a value.static <U> Gen<U>Gen.oneOf(U first, U... rest) Gives a generation strategy that produces a random value by choosing one of the given values at random with (approximately) equal probability.static <U> Gen<U>Gen.pure(U constant) Gives a generation strategy that produces the given value, always.Gen.times(int times) Methods in com.pholser.junit.quickcheck.generator that return types with arguments of type GenModifier and TypeMethodDescriptionHelper for making a weighted generator indicator forfrequency(Pair, Pair[]).Methods in com.pholser.junit.quickcheck.generator with parameters of type GenModifier and TypeMethodDescriptionHelper for making a weighted generator indicator forfrequency(Pair, Pair[]).static <U> Gen<U>Gives a generation strategy that produces a random value by choosing one of the given generators at random with (approximately) equal probability, and having it generate a value.Method parameters in com.pholser.junit.quickcheck.generator with type arguments of type GenModifier and TypeMethodDescriptiondefault <U> Gen<U>Gives a generation strategy that produces a random value by having this strategy produce a random value, then applying the given function to that value, and asking the result to produce a value.static <U> Gen<U>Gives a generation strategy that produces a random value by choosing one of the given generators at random with probability in proportion to their given weights, and having it generate a value. -
Uses of Gen in com.pholser.junit.quickcheck.generator.java.lang
Classes in com.pholser.junit.quickcheck.generator.java.lang that implement GenModifier and TypeClassDescriptionclassBase class for generators of values of typeString.classProduces values of typebooleanorBoolean.classProduces values of typebyteorByte.classProduces values of typecharorCharacter.classProduces values for property parameters of typedoubleorDouble.classclassProduces values of typefloatorFloat.classProduces values of typeintorInteger.classProduces values of typelongorLong.classProduces values of typeshortorShort.classProducesStrings whose characters are in the interval[0x0000, 0xD7FF]. -
Uses of Gen in com.pholser.junit.quickcheck.generator.java.math
Classes in com.pholser.junit.quickcheck.generator.java.math that implement GenModifier and TypeClassDescriptionclassProduces values of typeBigDecimal.classProduces values of typeBigInteger. -
Uses of Gen in com.pholser.junit.quickcheck.generator.java.nio.charset
Classes in com.pholser.junit.quickcheck.generator.java.nio.charset that implement Gen -
Uses of Gen in com.pholser.junit.quickcheck.generator.java.time
Classes in com.pholser.junit.quickcheck.generator.java.time that implement GenModifier and TypeClassDescriptionclassProduces values of typeClock.classProduces values of typeDuration.classProduces values of typeInstant.classProduces values of typeLocalDate.classProduces values of typeLocalDateTime.classProduces values of typeLocalTime.classProduces values of typeMonthDay.classProduces values of typeOffsetDateTime.classProduces values of typeOffsetTime.classProduces values of typePeriod.classProduces values of typeYear.classProduces values of typeYearMonth.classProduces values of typeZonedDateTime.classProduces values of typeZoneId.classProduces values of typeZoneOffset. -
Uses of Gen in com.pholser.junit.quickcheck.generator.java.util
Classes in com.pholser.junit.quickcheck.generator.java.util that implement GenModifier and TypeClassDescriptionclassProduces values of typeArrayList.classProduces values of typeBitSet.classCollectionGenerator<T extends Collection>Base class for generators ofCollections.classProduces values of typeDate.classProduces values of typeHashMap.classProduces values of typeHashSet.classProduces values of typeHashtable.classProduces values of typeLinkedHashMap.classProduces values of typeLinkedHashSet.classProduces values of typeLinkedList.classListGenerator<T extends List>Base class for generators ofLists.classProduces values of typeLocale.classMapGenerator<T extends Map>Base class for generators ofMaps.classProduces values of typeOptionalDouble.classProduces values of typeOptional.classProduces values of typeOptionalInt.classProduces values of typeOptionalLong.classProduces values of typeProperties.private static classprivate static classstatic classProduces values of typeUUIDthat are RFC 4122 Version 3 identifiers.static classProduces values of typeUUIDthat are RFC 4122 Version 4 identifiers.static classProduces values of typeUUIDthat are RFC 4122 Version 5 identifiers.classSetGenerator<T extends Set>Base class for generators ofSets.classProduces values of typeStack.classProduces values of typeTimeZone.classProduces values of typeVector. -
Uses of Gen in com.pholser.junit.quickcheck.generator.java.util.concurrent
Classes in com.pholser.junit.quickcheck.generator.java.util.concurrent that implement Gen -
Uses of Gen in com.pholser.junit.quickcheck.generator.java.util.function
Classes in com.pholser.junit.quickcheck.generator.java.util.function that implement GenModifier and TypeClassDescriptionclassBiFunctionGenerator<T,U, R> Produces values of typeBiFunction.classProduces values of typeBinaryOperator.classBiPredicateGenerator<T,U> Produces values of typeBiPredicate.classProduces values of typeDoubleFunction.classFunctionGenerator<T,R> Produces values of typeFunction.classProduces values of typeIntFunction.classProduces values of typeLongFunction.classProduces values of typePredicate.classProduces values of typeSupplier.classProduces values of typeToDoubleBiFunction.classProduces values of typeToDoubleFunction.classProduces values of typeToIntBiFunction.classProduces values of typeToIntFunction.classProduces values of typeToLongBiFunction.classProduces values of typeToLongFunction.classProduces values of typeUnaryOperator. -
Uses of Gen in com.pholser.junit.quickcheck.guava.generator
Classes in com.pholser.junit.quickcheck.guava.generator that implement GenModifier and TypeClassDescriptionclassFunctionGenerator<F,T> Produces values of typeFunction.classProduces values of typeOptional.classProduces values of typePredicate.classProduces values of typeSupplier. -
Uses of Gen in com.pholser.junit.quickcheck.internal.generator
Classes in com.pholser.junit.quickcheck.internal.generator that implement GenModifier and TypeClassDescriptionclassclassclassclassclassclassLambdaGenerator<T,U> class(package private) classclassclass