public class LastnameRandomizer extends DataRandomizer
Copyright (C) 2015 JIOWA Business Solutions GmbH, Bettinastr. 30 , D-60325 Frankfurt am Main, Germany
Homepage: www.jiowa.de
All rights reserved.
Download: www.jiowa.de/download.html
License: www.jiowa.de/license.html
Modifier and Type | Field and Description |
---|---|
protected static LastnameRandomizer |
INSTANCE |
protected RandomNameSet |
lastnames
Set of last names
|
COMMENT_SYMBOL
Modifier | Constructor and Description |
---|---|
protected |
LastnameRandomizer() |
Modifier and Type | Method and Description |
---|---|
static LastnameRandomizer |
getInstance()
Returns an instance of this class (singleton).
|
Lastname |
getRandom()
Returns a random last name.
|
protected void |
initialize()
Initializes the list of (international) last names.
|
createResourceReader, readResourceAsListOfLines, readResourceAsString
protected static final LastnameRandomizer INSTANCE
protected RandomNameSet lastnames
public Lastname getRandom()
public static LastnameRandomizer getInstance()
protected void initialize()