Interface BoxTypeFill

All Superinterfaces:
BoxCollectionFillExtension
All Known Implementing Classes:
BigDecimalFill, BooleanFill, CharacterFill, DateFill, DoubleFill, IntegerFill, LongFill, PrimitiveBoolean, PrimitiveChar, PrimitiveDouble, PrimitiveInt, PrimitiveLong, StringFill, UUIDFill

public interface BoxTypeFill extends BoxCollectionFillExtension
Interface for generating a value of the corresponding boxed type.
  • Field Details

    • createStreamWithVal

      static final Function<Fill,Function<Object,Stream<Object>>> createStreamWithVal
      A function that creates a stream of values based on the provided `Fill` object and a value.
  • Method Details

    • generate

      Object generate(Fill fill)
      Generates a value of the corresponding boxed type.
      Parameters:
      fill - the `Fill` object containing the generation parameters
      Returns:
      the generated value