|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.umd.cfar.lamp.viper.util.Intervals
Utility methods for dealing with intervals, ranges and the like.
Constructor Summary | |
Intervals()
|
Method Summary | |
static java.util.Iterator |
complement(TemporalRange tr)
Iterates through the complement intervals, that is, the intervals that are not in the range. |
static IntervalIndexList |
singleton(Interval i)
Gets an IntervalIndexList that refers to a single interval. |
static TemporalRange |
singletonRange(InstantInterval i)
Gets an Temporal that refers to a single interval. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Intervals()
Method Detail |
public static IntervalIndexList singleton(Interval i)
i
- the interval to contain
public static TemporalRange singletonRange(InstantInterval i)
i
- the interval to contain
public static java.util.Iterator complement(TemporalRange tr)
tr
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |