me.xdrop.jrand.generators.location.PostcodeGeneratorGen Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jrand Show documentation
Show all versions of jrand Show documentation
Java random data generation library
The newest version!
package me.xdrop.jrand.generators.location;
import javax.annotation.Generated;
import me.xdrop.jrand.generators.basics.CharacterGenerator;
import me.xdrop.jrand.model.location.Country;
public final class PostcodeGeneratorGen extends PostcodeGenerator {
@Generated("me.xdrop.jrand.annotation.processing.ForkClassGenerator")
public PostcodeGeneratorGen() {
}
@Generated("me.xdrop.jrand.annotation.processing.ForkClassGenerator")
private PostcodeGeneratorGen(CharacterGenerator character, CountryGenerator countryGen,
Country country) {
this.character = character;
this.countryGen = countryGen;
this.country = country;
}
@Generated("me.xdrop.jrand.annotation.processing.ForkClassGenerator")
public final PostcodeGenerator fork() {
return new PostcodeGeneratorGen(
((me.xdrop.jrand.generators.basics.CharacterGeneratorGen)character).fork(),
((me.xdrop.jrand.generators.location.CountryGeneratorGen)countryGen).fork(),
country);
}
}