Package net.jqwik.api

Class Combinators.BuilderCombinator<B>

    • Method Detail

      • build

        public <T> Arbitrary<T> build​(java.util.function.Function<B,​T> buildFunction)
        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
      • build

        @API(status=MAINTAINED,
             since="1.3.5")
        public Arbitrary<B> build()
        Create the final arbitrary if it's the builder itself.
        Returns:
        arbitrary of builder