public class ExactLeagueFilterRule extends GeneralDataFilterRule implements jayeson.model.IMatchFilterRule
| Constructor and Description |
|---|
ExactLeagueFilterRule() |
| Modifier and Type | Method and Description |
|---|---|
int |
buildHashCode(int initialHashCode) |
int |
compareTo(jayeson.model.IDataFilterRule o)
return:
-1: is not equal
0: is equal.
|
boolean |
equals(java.lang.Object obj) |
java.util.Set<java.lang.String> |
getIncludeLeagues() |
boolean |
isComplied(IBetMatch match)
Determine if a record complies with the rule.
|
void |
setIncludeLeagues(java.util.Set<java.lang.String> includeLeagues) |
clone, getRuleType, hashCode, isNegated, setNegatedpublic boolean isComplied(IBetMatch match)
jayeson.model.IDataFilterRuleisComplied in interface jayeson.model.IDataFilterRule<IBetMatch>match - data to execute the filter againstpublic int compareTo(jayeson.model.IDataFilterRule o)
return: -1: is not equal 0: is equal.
compareTo in interface jayeson.model.IDataFilterRule<IBetMatch>compareTo in class GeneralDataFilterRulepublic int buildHashCode(int initialHashCode)
buildHashCode in class GeneralDataFilterRulepublic boolean equals(java.lang.Object obj)
equals in class GeneralDataFilterRulepublic java.util.Set<java.lang.String> getIncludeLeagues()
public void setIncludeLeagues(java.util.Set<java.lang.String> includeLeagues)