public final class OlderTerm extends SearchTerm
Constructor and Description |
---|
OlderTerm(int interval)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.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 datepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved