Interface CollectionTypeFill
- All Known Implementing Classes:
FillListCollection,FillRawStream,FillSetCollection,MapFill
public interface CollectionTypeFill
Interface for generating a value of the corresponding collection type.
-
Method Summary
-
Method Details
-
generate
Generates a collection based on the provided field and fill parameters.- Parameters:
field- the field for which the collection is generatedfill- the `Fill` object containing the generation parameters- Returns:
- the generated collection object
-
fillCollectionStream
Fills a collection stream based on the provided field and fill parameters.- Type Parameters:
T- the type of elements in the collection- Parameters:
field- the field for which the collection stream is filledfill- the `Fill` object containing the generation parameters- Returns:
- a stream of filled collection elements
-