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 © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.