public static class TraceModel.Element extends Object
Modifier and Type | Field and Description |
---|---|
int |
closure
The closure status
|
int |
intValue
The integer value
|
static int |
OPEN_END
Say that the element is open at the end
|
static int |
OPEN_START
Say that the element is open at the start
|
double |
startTime
The start time
|
double |
stopTime
The end time
|
Object |
userObject
The object value
|
Constructor and Description |
---|
Element()
Create a new element with no values set.
|
Element(double startTime,
double stopTime,
int value)
Create a new element with the given start time, stop time,
and integer value.
|
Element(double startTime,
double stopTime,
int value,
Object o)
Create a new element with the given start time, stop time,
integer value, and user object.
|
Modifier and Type | Method and Description |
---|---|
int |
getID()
Get the id of the element.
|
TraceModel.Trace |
getTrace()
Get the trace that owns this element.
|
String |
toString()
Print a string representation
|
public static final int OPEN_START
public static final int OPEN_END
public int closure
public double startTime
public double stopTime
public int intValue
public Object userObject
public Element()
public Element(double startTime, double stopTime, int value)
public Element(double startTime, double stopTime, int value, Object o)
public int getID()
public TraceModel.Trace getTrace()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.