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