Package de.cuioss.test.generator.impl
Class NumberGenerator
- java.lang.Object
-
- de.cuioss.test.generator.impl.NumberGenerator
-
- All Implemented Interfaces:
TypedGenerator<Number>
public class NumberGenerator extends Object implements TypedGenerator<Number>
This Class is used to generate aNumberobjects which is generated by next() method.
-
-
Constructor Summary
Constructors Constructor Description NumberGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<Number>getType()Numbernext()Generates the next instance.
-
-
-
Constructor Detail
-
NumberGenerator
public NumberGenerator()
-
-
Method Detail
-
next
public Number next()
Description copied from interface:TypedGeneratorGenerates the next instance.- Specified by:
nextin interfaceTypedGenerator<Number>- Returns:
- a newly created instance
-
-