Class PrimitiveDouble
java.lang.Object
ru.objectsfill.types.primitive_type.PrimitiveDouble
- All Implemented Interfaces:
BoxTypeFill,BoxCollectionFillExtension
Implementation of the BoxTypeFill interface for generating and filling primitive double values.
-
Field Summary
Fields inherited from interface ru.objectsfill.types.box_type.BoxTypeFill
createStreamWithVal -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PrimitiveDouble
public PrimitiveDouble()
-
-
Method Details
-
generate
Generates a random double value.- Specified by:
generatein interfaceBoxTypeFill- Parameters:
fill- the Fill object containing the configuration for generating values- Returns:
- a random double value
-
fillStream
Creates a stream of double values using the generated value.- Specified by:
fillStreamin interfaceBoxCollectionFillExtension- Parameters:
fill- the Fill object containing the configuration for generating values- Returns:
- a stream of double values
-