Package net.jqwik.api
Class Combinators.CombinableBuilder<B,T>
- java.lang.Object
-
- net.jqwik.api.Combinators.CombinableBuilder<B,T>
-
- Type Parameters:
B
- The builder's type
- Enclosing class:
- Combinators
@API(status=DEPRECATED, since="1.5.4") public static class Combinators.CombinableBuilder<B,T> extends java.lang.Object
Deprecated.Will be removed in 1.7.0Functionality to manipulate a builder. Instances are created throughCombinators.BuilderCombinator.use(Arbitrary)
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <C> Combinators.BuilderCombinator<C>
in(Combinators.F2<B,T,C> toFunction)
Deprecated.Use the last provided arbitrary to change the builder object.Combinators.BuilderCombinator<B>
inSetter(java.util.function.BiConsumer<B,T> setter)
Deprecated.Use the last provided arbitrary to change the builder object and proceed with the same builder.
-
-
-
Method Detail
-
in
public <C> Combinators.BuilderCombinator<C> in(Combinators.F2<B,T,C> toFunction)
Deprecated.Use the last provided arbitrary to change the builder object. Potentially create a different kind of builder.- Type Parameters:
C
- Type of returned builder- Parameters:
toFunction
- Use value provided by arbitrary to set current builder and return (potentially a different) builder.- Returns:
- new Combinators.BuilderCombinator instance
-
inSetter
@API(status=MAINTAINED, since="1.4.0") public Combinators.BuilderCombinator<B> inSetter(java.util.function.BiConsumer<B,T> setter)
Deprecated.Use the last provided arbitrary to change the builder object and proceed with the same builder. The most common scenario is a builder the methods of which do not return a new builder.- Parameters:
setter
- Use value provided by arbitrary to change a builder's property.- Returns:
- new Combinators.BuilderCombinator instance with same embedded builder
-
-