public final class OlderTerm extends SearchTerm
Constructor and Description |
---|
OlderTerm(int interval)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Equality comparison.
|
int |
getInterval()
Return the interval.
|
int |
hashCode()
Compute a hashCode for this object.
|
boolean |
match(Message msg)
The match method.
|
public OlderTerm(int interval)
interval
- number of seconds olderpublic int getInterval()
public boolean match(Message msg)
match
in class SearchTerm
msg
- the date comparator is applied to this Message's
received dateCopyright © 2019 JBoss by Red Hat. All rights reserved.