|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.features.poller.remote.gwt.client.utils.Interval
public class Interval
Interval class.
| Constructor Summary | |
|---|---|
Interval(long start,
long end)
Constructor for Interval. |
|
| Method Summary | |
|---|---|
int |
compareTo(Interval that)
compareTo |
long |
getEndMillis()
getEndMillis |
long |
getStartMillis()
getStartMillis |
boolean |
overlaps(Interval that)
overlaps |
void |
setEndMillis(long end)
setEndMillis |
void |
setStartMillis(long start)
setStartMillis |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Interval(long start,
long end)
Constructor for Interval.
start - a long.end - a long.| Method Detail |
|---|
public long getStartMillis()
getStartMillis
public void setStartMillis(long start)
setStartMillis
start - a long.public long getEndMillis()
getEndMillis
public void setEndMillis(long end)
setEndMillis
end - a long.public boolean overlaps(Interval that)
overlaps
that - a Interval object.
public int compareTo(Interval that)
compareTo
compareTo in interface Comparable<Interval>that - a Interval object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||