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