public class Interval
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected float |
begin
The begin time for the interval.
|
protected java.util.LinkedList |
beginDependents
The list of
InstanceTime objects that are dependent
on the begin time of this Interval. |
protected InstanceTime |
beginInstanceTime
The InstanceTime that defined the begin time of the current interval.
|
protected float |
end
The end time for the interval.
|
protected java.util.LinkedList |
endDependents
The list of
InstanceTime objects that are dependent
on the end time of this Interval. |
protected InstanceTime |
endInstanceTime
The InstanceTime that defined the end time of the current interval.
|
Constructor and Description |
---|
Interval(float begin,
float end,
InstanceTime beginInstanceTime,
InstanceTime endInstanceTime)
Creates a new Interval.
|
Modifier and Type | Method and Description |
---|---|
float |
getBegin()
Returns the begin time of this interval.
|
InstanceTime |
getBeginInstanceTime()
Returns the
InstanceTime that defined the begin time of this
interval. |
float |
getEnd()
Returns the end time of this interval.
|
InstanceTime |
getEndInstanceTime()
Returns the
InstanceTime that defined the end time of this
interval. |
java.lang.String |
toString()
Returns a string representation of this Interval.
|
protected float begin
protected float end
protected InstanceTime beginInstanceTime
protected InstanceTime endInstanceTime
protected java.util.LinkedList beginDependents
InstanceTime
objects that are dependent
on the begin time of this Interval.protected java.util.LinkedList endDependents
InstanceTime
objects that are dependent
on the end time of this Interval.public Interval(float begin, float end, InstanceTime beginInstanceTime, InstanceTime endInstanceTime)
begin
- the begin time of the Intervalend
- the end time of the IntervalbeginInstanceTime
- the InstanceTime
object that defined
the begin time of the IntervalendInstanceTime
- the InstanceTime
object that defined
the end time of the Intervalpublic java.lang.String toString()
toString
in class java.lang.Object
public float getBegin()
public float getEnd()
public InstanceTime getBeginInstanceTime()
InstanceTime
that defined the begin time of this
interval.public InstanceTime getEndInstanceTime()
InstanceTime
that defined the end time of this
interval.Copyright © 2022 Apache Software Foundation. All Rights Reserved.