B
- The builder's type@API(status=MAINTAINED,
since="1.2.0")
public static class Combinators.BuilderCombinator<B>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Arbitrary<B> |
build()
Create the final arbitrary if it's the builder itself.
|
<T> Arbitrary<T> |
build(java.util.function.Function<B,T> buildFunction)
Create the final arbitrary.
|
<T> Combinators.CombinableBuilder<B,T> |
use(Arbitrary<T> arbitrary) |
public <T> Combinators.CombinableBuilder<B,T> use(Arbitrary<T> arbitrary)
public <T> Arbitrary<T> build(java.util.function.Function<B,T> buildFunction)
T
- the target object's typebuildFunction
- Function to map a builder to an object