Package ru.objectsfill.types.box_type
Class DoubleFill
java.lang.Object
ru.objectsfill.types.box_type.DoubleFill
- All Implemented Interfaces:
BoxTypeFill,BoxCollectionFillExtension
Class for generating a value of the double type
-
Field Summary
Fields inherited from interface ru.objectsfill.types.box_type.BoxTypeFill
createStreamWithVal -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DoubleFill
public DoubleFill()
-
-
Method Details
-
generate
Generates a random `double` value.- Specified by:
generatein interfaceBoxTypeFill- Parameters:
fill- the `Fill` object containing the generation parameters- Returns:
- the generated `double` value
-
fillStream
Creates a stream of `double` values based on the provided `Fill` object.- Specified by:
fillStreamin interfaceBoxCollectionFillExtension- Parameters:
fill- the `Fill` object containing the generation parameters- Returns:
- a stream of `double` values
-