public class DurationRangeFilterRule extends GeneralDataFilterRule implements jayeson.model.IEventFilterRule
| Constructor and Description |
|---|
DurationRangeFilterRule() |
| 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) |
int |
getDurationLower() |
int |
getDurationUpper() |
boolean |
isComplied(IBetEvent event)
Determine if a record complies with the rule.
|
void |
setDurationLower(int durationLower) |
void |
setDurationUpper(int durationUpper) |
clone, getRuleType, hashCode, isNegated, setNegatedpublic int getDurationLower()
public int getDurationUpper()
public void setDurationLower(int durationLower)
public void setDurationUpper(int durationUpper)
public boolean isComplied(IBetEvent event)
jayeson.model.IDataFilterRuleisComplied in interface jayeson.model.IDataFilterRule<IBetEvent>event - 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<IBetEvent>compareTo in class GeneralDataFilterRulepublic int buildHashCode(int initialHashCode)
buildHashCode in class GeneralDataFilterRulepublic boolean equals(java.lang.Object obj)
equals in class GeneralDataFilterRule