public class TeamKeywordFilterRule extends GeneralDataFilterRule implements jayeson.model.IMatchFilterRule
Constructor and Description |
---|
TeamKeywordFilterRule() |
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.Collection<java.lang.String> |
getExcludeKeywords() |
java.util.Collection<java.lang.String> |
getIncludeKeywords() |
boolean |
isComplied(IBetMatch match)
Determine if a record complies with the rule.
|
void |
setExcludeKeywords(java.util.Collection<java.lang.String> excludeKeywords) |
void |
setIncludeKeywords(java.util.Collection<java.lang.String> includeKeywords) |
clone, getRuleType, hashCode, isNegated, setNegated
public boolean isComplied(IBetMatch match)
jayeson.model.IDataFilterRule
isComplied
in interface jayeson.model.IDataFilterRule<IBetMatch>
match
- data to execute the filter againstpublic java.util.Collection<java.lang.String> getIncludeKeywords()
public void setIncludeKeywords(java.util.Collection<java.lang.String> includeKeywords)
public java.util.Collection<java.lang.String> getExcludeKeywords()
public void setExcludeKeywords(java.util.Collection<java.lang.String> excludeKeywords)
public int compareTo(jayeson.model.IDataFilterRule o)
return: -1: is not equal 0: is equal.
compareTo
in interface jayeson.model.IDataFilterRule<IBetMatch>
compareTo
in class GeneralDataFilterRule
public int buildHashCode(int initialHashCode)
buildHashCode
in class GeneralDataFilterRule
public boolean equals(java.lang.Object obj)
equals
in class GeneralDataFilterRule