public final class YoungerTerm extends SearchTerm
Constructor and Description |
---|
YoungerTerm(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 YoungerTerm(int interval)
interval
- number of seconds youngerpublic 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.