Class StringFill

java.lang.Object
ru.objectsfill.types.box_type.StringFill
All Implemented Interfaces:
BoxTypeFill, BoxCollectionFillExtension

public class StringFill extends Object implements BoxTypeFill
class StringFill
  • Constructor Details

    • StringFill

      public StringFill()
  • Method Details

    • generate

      public Object generate(Fill fill)
      Generates a random string value consisting of alphabetic characters.
      Specified by:
      generate in interface BoxTypeFill
      Parameters:
      fill - the `Fill` object containing the generation parameters
      Returns:
      the generated string value
    • fillStream

      public Stream<Object> fillStream(Fill fill)
      Creates a stream of string values based on the provided `Fill` object.
      Specified by:
      fillStream in interface BoxCollectionFillExtension
      Parameters:
      fill - the `Fill` object containing the generation parameters
      Returns:
      a stream of string values