public class MinimalBet
Class that contains the minimal details for a bet
Constructor and Description |
---|
MinimalBet(int matchId,
int homeScore,
int awayScore)
Class that contains the minimal details for a bet
|
Modifier and Type | Method and Description |
---|---|
int |
component1()
:
|
int |
component2()
:
|
int |
component3()
:
|
MinimalBet |
copy(int matchId,
int homeScore,
int awayScore)
Class that contains the minimal details for a bet
|
boolean |
equals(java.lang.Object p) |
int |
getAwayScore()
:
|
int |
getHomeScore()
:
|
int |
getMatchId()
:
|
int |
hashCode() |
java.lang.String |
toString() |
public MinimalBet(int matchId, int homeScore, int awayScore)
Class that contains the minimal details for a bet
matchId
- : The ID of the matchhomeScore
- : The score bet on the home teamawayScore
- : The score bet on the away teammatchId
- : The ID of the matchhomeScore
- : The score bet on the home teamawayScore
- : The score bet on the away teampublic int getMatchId()
:
The ID of the match
public int getHomeScore()
:
The score bet on the home team
public int getAwayScore()
:
The score bet on the away team
public int component1()
:
The ID of the match
public int component2()
:
The score bet on the home team
public int component3()
:
The score bet on the away team
public MinimalBet copy(int matchId, int homeScore, int awayScore)
Class that contains the minimal details for a bet
matchId
- : The ID of the matchhomeScore
- : The score bet on the home teamawayScore
- : The score bet on the away teampublic java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)