| Modifier and Type | Method and Description |
|---|---|
| public Gen | Returns: A generator for objects of type T.A (not necessarily positive) size parameter which may be interpreted individually and is constant for all arbitrary objects regarding one property check. size)Returns a generator for objects of type T. |
| public default Arbitrary | Returns: A new generatorReturns an Arbitrary based on this Arbitrary which produces unique values. |
| public default Arbitrary | Returns: A new generatorA comparator comparator)Returns an Arbitrary based on this Arbitrary which produces unique values based on the given comparator. |
| public default < key type U> Arbitrary | Returns: A new generatorA function keyExtractor)Returns an Arbitrary based on this Arbitrary which produces unique values based on the given function. |
| public default Arbitrary | |
| public default < New type of arbitrary objects U> Arbitrary | |
| public static Arbitrary | |
| public default Arbitrary | Returns: A new T arbitraryanother T arbitrary to accept values from. other)Intersperses values from this arbitrary instance with those of another. |
| public static < Component type of the List T> Arbitrary | |
| public static Arbitrary | Returns: A new Arbitrary of LocalDateTimeGenerates arbitrary |
| public static Arbitrary | Returns: A new Arbitrary of LocalDateTimeChronological unit of unit)sizeGenerates arbitrary |
| public static Arbitrary | Returns: A new Arbitrary of LocalDateTimeCenter of the LocalDateTime range median, ChronoUnit Chronological unit of unit)sizeGenerates arbitrary |
| public default < Type of the mapped object U> Arbitrary | |
| public static < Type of generator value U> Arbitrary | Returns: A new generatorA fixed set of values values)Generates an arbitrary value from a fixed set of values |
| public static < Type of generator value U> Arbitrary | |
| public default Arbitrary | |
| public static < Component type of the Stream T> Arbitrary | |
| public static Arbitrary | |
| public default < Type of transformation result U> U |
| apply | back to summary |
|---|---|
| public Gen Returns a generator for objects of type T.
Use Example:
| |
| distinct | back to summary |
|---|---|
| public default Arbitrary Returns an Arbitrary based on this Arbitrary which produces unique values.
| |
| distinctBy | back to summary |
|---|---|
| public default Arbitrary Returns an Arbitrary based on this Arbitrary which produces unique values based on the given comparator.
| |
| distinctBy | back to summary |
|---|---|
| public default <U> Arbitrary Returns an Arbitrary based on this Arbitrary which produces unique values based on the given function. | |
| filter | back to summary |
|---|---|
| public default Arbitrary Returns an Arbitrary based on this Arbitrary which produces values that fulfill the given predicate. | |
| flatMap | back to summary |
|---|---|
| public default <U> Arbitrary Maps arbitrary objects T to arbitrary object U. | |
| integer | back to summary |
|---|---|
| public static Arbitrary Generates arbitrary integer values. | |
| intersperse | back to summary |
|---|---|
| public default Arbitrary Intersperses values from this arbitrary instance with those of another. | |
| list | back to summary |
|---|---|
| public static <T> Arbitrary Generates arbitrary lists based on a given element generator arbitraryT. Example:
| |
| localDateTime | back to summary |
|---|---|
| public static Arbitrary Generates arbitrary
| |
| localDateTime | back to summary |
|---|---|
| public static Arbitrary Generates arbitrary
| |
| localDateTime | back to summary |
|---|---|
| public static Arbitrary Generates arbitrary Example:
| |
| map | back to summary |
|---|---|
| public default <U> Arbitrary Maps arbitrary objects T to arbitrary object U. | |
| of | back to summary |
|---|---|
| public static <U> Arbitrary Generates an arbitrary value from a fixed set of values
| |
| ofAll | back to summary |
|---|---|
| public static <U> Arbitrary Generates an arbitrary value from a given generator | |
| peek | back to summary |
|---|---|
| public default Arbitrary | |
| stream | back to summary |
|---|---|
| public static <T> Arbitrary Generates arbitrary streams based on a given element generator arbitraryT. Example:
| |
| string | back to summary |
|---|---|
| public static Arbitrary Generates arbitrary strings based on a given alphabet represented by gen. Example:
| |
| transform | back to summary |
|---|---|
| public default <U> U transform(Function<? super Arbitrary<T>, ? extends U> f) Transforms this
| |