Class FillRawStream

java.lang.Object
ru.objectsfill.types.collection_type.FillRawStream
All Implemented Interfaces:
CollectionTypeFill

public class FillRawStream extends Object implements CollectionTypeFill
Generates a raw Stream of elements without collecting into a concrete collection.
  • Constructor Details

    • FillRawStream

      public FillRawStream()
  • Method Details

    • generate

      public Object generate(Field field, Fill fill)
      Returns a stream of randomly generated elements for the given field.
      Specified by:
      generate in interface CollectionTypeFill
      Parameters:
      field - the field for which the stream is generated
      fill - the generation parameters
      Returns:
      a stream of generated elements