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