Serializable
public final class OlderTerm extends SearchTerm
Constructor | Description |
---|---|
OlderTerm(int interval) |
Constructor.
|
Modifier and Type | Method | 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 © 2018 Oracle. All rights reserved.