Class MapFill
java.lang.Object
ru.objectsfill.types.collection_type.MapFill
- All Implemented Interfaces:
CollectionTypeFill
class MapFill
-
Constructor Details
-
MapFill
public MapFill()
-
-
Method Details
-
generate
Generates a map collection based on the provided field and fill parameters. The generated collection will be in the form of a `Map` object.- Specified by:
generatein interfaceCollectionTypeFill- Parameters:
field- the field for which the map collection is generatedfill- the `Fill` object containing the generation parameters- Returns:
- the generated map collection
-
fillMap
Fills a map with generated key-value pairs based on the provided field and fill parameters.- Type Parameters:
K- the type of the map's keyV- the type of the map's value- Parameters:
field- the field for which the map is filledfill- the `Fill` object containing the generation parameters- Returns:
- the filled map
-