Class FillListCollection
java.lang.Object
ru.objectsfill.types.collection_type.FillListCollection
- All Implemented Interfaces:
CollectionTypeFill
Generates a
List by collecting elements from a stream produced by
CollectionTypeFill.fillCollectionStream(java.lang.reflect.Field, ru.objectsfill.object_param.Fill).-
Constructor Details
-
FillListCollection
public FillListCollection()
-
-
Method Details
-
generate
Generates a list collection based on the provided field and fill parameters. The generated collection will be in the form of a `List` object.- Specified by:
generatein interfaceCollectionTypeFill- Parameters:
field- the field for which the list collection is generatedfill- the `Fill` object containing the generation parameters- Returns:
- the generated list collection
-