Interface OutcomeProbabilities
- All Superinterfaces:
Outcome
- All Known Subinterfaces:
OutcomeOdds,PlayerOutcomeOdds
- All Known Implementing Classes:
OutcomeProbabilitiesImpl,PlayerOutcomeOddsImpl
Defines methods used to access data on outcomes with probabilities
-
Method Summary
Modifier and TypeMethodDescriptiondefault AdditionalProbabilitiesAdditional probability attributes for markets which potentially will be (partly) refundeddoubleThe probability for this outcome (how likely is this outcome)booleanisActive()If this outcome is deactivated this will return false
-
Method Details
-
isActive
boolean isActive()If this outcome is deactivated this will return false- Returns:
- true if the outcome is active, false if it is deactivated and should be removed
-
getProbability
double getProbability()The probability for this outcome (how likely is this outcome)- Returns:
- the likelihood of this outcome happening in percent (i.e. 0-100)
-
getAdditionalProbabilities
Additional probability attributes for markets which potentially will be (partly) refunded- Returns:
- additional probability attributes for markets which potentially will be (partly) refunded
-