Package net.datafaker
Class Basketball
java.lang.Object
net.datafaker.Basketball
Generate random components of basketball game, e.g. teams, coaches, positions and players.
- Since:
- 0.8.0
- Author:
- unknown and irakatz
-
Constructor Summary
ModifierConstructorDescriptionprotected
Basketball
(Faker faker) Create a constructor for Basketball. -
Method Summary
-
Constructor Details
-
Basketball
Create a constructor for Basketball.- Parameters:
faker
- The Faker instance for generating random, different kinds of disease, e.g. the internal disease.
-
-
Method Details
-
teams
Generate random basketball teams- Returns:
- Basketball teams
-
coaches
Generate random coaches in basketball game- Returns:
- Basketball coaches
-
positions
Generate random positions in basketball game- Returns:
- Basketball positions
-
players
Generate random basketball players- Returns:
- Basketball players
-