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