Package net.jqwik.api
Class Builders
- java.lang.Object
-
- net.jqwik.api.Builders
-
@API(status=MAINTAINED, since="1.5.4") public class Builders extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Builders.BuilderCombinator<B>
Provide access to combinators through builder functionality.static class
Builders.CombinableBuilder<B,T>
Functionality to manipulate a builder.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <B> Builders.BuilderCombinator<B>
withBuilder(java.util.function.Supplier<B> builderSupplier)
Combine Arbitraries by means of a builder.
-
-
-
Method Detail
-
withBuilder
public static <B> Builders.BuilderCombinator<B> withBuilder(java.util.function.Supplier<B> builderSupplier)
Combine Arbitraries by means of a builder.- Parameters:
builderSupplier
- The supplier will be called freshly for each value generation. For exhaustive generation all supplied objects are supposed to be identical.- Returns:
- BuilderCombinator instance
-
-