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