Class LongFill

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

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

    • LongFill

      public LongFill()
  • Method Details

    • generate

      public Object generate(Fill fill)
      Generates a random long value within the specified range.
      Specified by:
      generate in interface BoxTypeFill
      Parameters:
      fill - the `Fill` object containing the generation parameters
      Returns:
      the generated long value
    • fillStream

      public Stream<Object> fillStream(Fill fill)
      Creates a stream of long 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 long values