Package net.jqwik.api
Class Combinators.BuilderCombinator<B>
- java.lang.Object
-
- net.jqwik.api.Combinators.BuilderCombinator<B>
-
- Type Parameters:
B
- The builder's type
- Enclosing class:
- Combinators
@API(status=DEPRECATED, since="1.5.4") public static class Combinators.BuilderCombinator<B> extends java.lang.Object
Deprecated.Will be removed in 1.7.0.Provide access to combinator's through builder functionality. A builder is created through either Combinators.withBuilder(Supplier) or Combinators.withBuilder(Arbitrary).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Arbitrary<B>
build()
Deprecated.Create the final arbitrary if it's the builder itself.<T> Arbitrary<T>
build(java.util.function.Function<B,T> buildFunction)
Deprecated.Create the final arbitrary.<T> Combinators.CombinableBuilder<B,T>
use(Arbitrary<T> arbitrary)
Deprecated.
-
-
-
Method Detail
-
use
public <T> Combinators.CombinableBuilder<B,T> use(Arbitrary<T> arbitrary)
Deprecated.
-
build
public <T> Arbitrary<T> build(java.util.function.Function<B,T> buildFunction)
Deprecated.Create the final arbitrary.- Type Parameters:
T
- the target object's type- Parameters:
buildFunction
- Function to map a builder to an object- Returns:
- arbitrary of target object
-
-