Index
All Classes and Interfaces|All Packages
G
- game - Variable in class bet.Bet
-
A
Stringdescribing the game matchup (e.g., "Team A vs Team B"). - GameEmulator - Enum Class in main
-
Singleton class for emulating game results by randomly selecting outcomes for a list of bets.
- GameEmulator() - Constructor for enum class main.GameEmulator
- gameResult - Variable in class bet.Bet
-
The final result of the game associated with this bet.
- generateDummyBasketballBets() - Static method in class util.DummyData
-
Generates a list of dummy basketball bets with game details and associated odds.
- generateDummyCustomers() - Static method in class util.DummyData
-
Generates a list of dummy customers with various customer types.
- generateDummyFootballBets() - Static method in class util.DummyData
-
Generates a list of dummy football bets with game details and associated odds.
- generateRandomGameResults(List<Bet>) - Method in enum class main.GameEmulator
-
Generates random results for the given list of bets and sets the result on each bet.
- getAvailableChoices() - Method in class bet.Bet
-
Retrieves the available choices for this bet.
- getBet() - Method in class customer.CustomerBet
-
Retrieves the bet details associated with this customer bet.
- getChoice() - Method in class customer.CustomerBet
-
Returns the choice made by the customer for this bet.
- getCustomerBetList() - Method in class customer.Customer
-
Retrieves the list of bets placed by this customer.
- getCustomerBetList() - Method in interface customer.IGiveBetList
-
Retrieves the list of bets associated with a customer.
- getGameResult() - Method in class bet.Bet
-
Retrieves the final result of the game associated with this bet.
- getMaxStake() - Method in class customer.Customer
-
Gets the maximum stake limit for the customer based on their
CustomerType. - getMaxStake() - Method in enum class customer.CustomerType
-
Returns the maximum stake limit for this customer type.
- getOdds() - Method in class bet.Bet
-
Retrieves the odds associated with this bet.
- getStake() - Method in class customer.CustomerBet
-
Returns the amount of money staked on this bet.
- GOLD - Enum constant in enum class customer.CustomerType
-
Gold-level customer with a higher betting limit of 1,000 units.
- GoldCustomer - Class in customer
-
Represents a Gold-level customer, a specialized type of
Customerwith enhanced betting limits. - GoldCustomer(String) - Constructor for class customer.GoldCustomer
-
Constructs a new Gold-level customer with the specified full name.
All Classes and Interfaces|All Packages