public class InstanceTime extends Object implements Comparable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
clearOnReset
Whether this InstanceTime should be removed from an element's
begin or end instance time lists upon reset.
|
protected TimingSpecifier |
creator
The
TimingSpecifier that created this InstanceTime. |
protected float |
time
The time.
|
| Constructor and Description |
|---|
InstanceTime(TimingSpecifier creator,
float time,
boolean clearOnReset)
Creates a new InstanceTime.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o)
Compares this InstanceTime with another.
|
boolean |
getClearOnReset()
Returns whether the InstanceTime should be removed from the
element's begin or end instance time list when it is reset.
|
float |
getTime()
Returns the time of this instance time.
|
String |
toString()
Returns a string representation of this InstanceTime.
|
protected float time
protected TimingSpecifier creator
TimingSpecifier that created this InstanceTime.protected boolean clearOnReset
public InstanceTime(TimingSpecifier creator, float time, boolean clearOnReset)
creator - the TimingSpecifier that created this InstanceTimetime - the new time, in parent simple timeclearOnReset - whether this InstanceTime should be removed from
an instance time list upon element resetpublic boolean getClearOnReset()
public float getTime()
public String toString()
public int compareTo(Object o)
compareTo in interface ComparableCopyright © 2000–2020 Apache Software Foundation. All rights reserved.