class PersonFactory extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.Random |
random |
Modifier | Constructor and Description |
---|---|
private |
PersonFactory() |
Modifier and Type | Method and Description |
---|---|
static Person |
randomPerson() |
private static java.util.Random random
private PersonFactory()
public static Person randomPerson()