Package de.cuioss.test.generator.domain
Class ZipCodeGenerator
- java.lang.Object
-
- de.cuioss.test.generator.domain.ZipCodeGenerator
-
- All Implemented Interfaces:
TypedGenerator<Integer>
public class ZipCodeGenerator extends Object implements TypedGenerator<Integer>
Generator for some zipCodes, number between 10000 - 99999- Author:
- Oliver Wolff
-
-
Constructor Summary
Constructors Constructor Description ZipCodeGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<Integer>getType()Integernext()Generates the next instance.
-
-
-
Constructor Detail
-
ZipCodeGenerator
public ZipCodeGenerator()
-
-
Method Detail
-
next
public Integer next()
Description copied from interface:TypedGeneratorGenerates the next instance.- Specified by:
nextin interfaceTypedGenerator<Integer>- Returns:
- a newly created instance
-
-