Interface IPersonGenerator
- All Known Implementing Classes:
PersonGenerator
public interface IPersonGenerator
Interface for random person generator
-
Method Summary
Modifier and TypeMethodDescriptioncreateRandomPersonInArea
(String postalCode, AgeRange age) createRandomPersonInCity
(String city, AgeRange age)
-
Method Details
-
createRandomPerson
- Parameters:
age
- age- Returns:
- random person
-
createRandomPersonInCity
- Parameters:
city
- cityage
- age- Returns:
- random person
-
createRandomPersonInArea
- Parameters:
postalCode
- postalCodeage
- age- Returns:
- random person
-