public class MarketFilterRule extends GeneralDataFilterRule implements jayeson.model.IRecordFilterRule
Constructor and Description |
---|
MarketFilterRule() |
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) |
OddType |
getMonitorMarketType() |
boolean |
isComplied(IBetRecord record)
Determine if a record complies with the rule.
|
void |
setMonitorMarketType(OddType monitorMarketType) |
clone, getRuleType, hashCode, isNegated, setNegated
public boolean isComplied(IBetRecord record)
jayeson.model.IDataFilterRule
isComplied
in interface jayeson.model.IDataFilterRule<IBetRecord>
record
- data to execute the filter againstpublic OddType getMonitorMarketType()
public void setMonitorMarketType(OddType monitorMarketType)
public int compareTo(jayeson.model.IDataFilterRule o)
return: -1: is not equal 0: is equal.
compareTo
in interface jayeson.model.IDataFilterRule<IBetRecord>
compareTo
in class GeneralDataFilterRule
public int buildHashCode(int initialHashCode)
buildHashCode
in class GeneralDataFilterRule
public boolean equals(java.lang.Object obj)
equals
in class GeneralDataFilterRule