Package | Description |
---|---|
dev.nm.interval | |
dev.nm.misc.datastructure.time |
Modifier and Type | Class and Description |
---|---|
class |
RealInterval
This is an interval on the real line.
|
Modifier and Type | Method and Description |
---|---|
Interval<T> |
Intervals.get(int i)
Get the i-th interval.
|
Modifier and Type | Method and Description |
---|---|
void |
Intervals.add(Interval<T>... intervals)
Add intervals to the set.
|
void |
Intervals.add(Interval<T> interval)
Add an interval to the set.
|
boolean |
Interval.is(IntervalRelation relation,
Interval<T> Y)
Check whether
this and Y satisfies a certain Allen's interval relation. |
abstract <T extends Comparable<? super T>> |
IntervalRelation.isBetween(Interval<T> X,
Interval<T> Y)
Check if X and Y satisfy a certain relation.
|
abstract <T extends Comparable<? super T>> |
IntervalRelation.isBetween(Interval<T> X,
Interval<T> Y)
Check if X and Y satisfy a certain relation.
|
Set<IntervalRelation> |
Interval.relations(Interval<T> Y)
Determine the interval relations between
this and Y . |
Constructor and Description |
---|
Intervals(Interval<T>... intervals)
Construct a set of intervals.
|
Intervals(Interval<T> interval)
Construct a set that contains only one interval.
|
Modifier and Type | Class and Description |
---|---|
class |
TimeInterval
This is a time interval.
|
Constructor and Description |
---|
TimeIntervals(Interval<org.joda.time.DateTime>... intervals)
Construct a collection of time intervals.
|
TimeIntervals(Interval<org.joda.time.DateTime> interval)
Construct a collection consisting of one time interval.
|
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.