public class StartTimeRangeFilterRule extends GeneralDataFilterRule implements jayeson.model.IMatchFilterRule
Constructor and Description |
---|
StartTimeRangeFilterRule() |
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) |
long |
getStartTimeLower() |
long |
getStartTimeUpper() |
boolean |
isComplied(IBetMatch match)
Determine if a record complies with the rule.
|
void |
setStartTimeLower(long startTimeLower) |
void |
setStartTimeUpper(long startTimeUpper) |
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 long getStartTimeLower()
public long getStartTimeUpper()
public void setStartTimeLower(long startTimeLower)
public void setStartTimeUpper(long startTimeUpper)
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