public class InstanceTime
extends java.lang.Object
implements java.lang.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(java.lang.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.
|
java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Copyright © 2022 Apache Software Foundation. All Rights Reserved.