Package net.jqwik.api

Class Builders

  • @API(status=MAINTAINED,
    public class Builders
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <B> Builders.BuilderCombinator<B> withBuilder​(java.util.function.Supplier<B> builderSupplier)
      Combine Arbitraries by means of a builder.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • withBuilder

        public static <B> Builders.BuilderCombinator<B> withBuilder​(java.util.function.Supplier<B> builderSupplier)
        Combine Arbitraries by means of a builder.
        builderSupplier - The supplier will be called freshly for each value generation. For exhaustive generation all supplied objects are supposed to be identical.
        BuilderCombinator instance