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