|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.compat.trace.TraceModel.Element
public static class TraceModel.Element
A single element of a trace
Field Summary | |
---|---|
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 Summary | |
---|---|
TraceModel.Element()
Create a new element with no values set. |
|
TraceModel.Element(double startTime,
double stopTime,
int value)
Create a new element with the given start time, stop time, and integer value. |
|
TraceModel.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. |
Method Summary | |
---|---|
int |
getID()
Get the id of the element. |
TraceModel.Trace |
getTrace()
Get the trace that owns this element. |
String |
toString()
Print a string representation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public TraceModel.Element()
public TraceModel.Element(double startTime, double stopTime, int value)
public TraceModel.Element(double startTime, double stopTime, int value, Object o)
Method Detail |
---|
public int getID()
public TraceModel.Trace getTrace()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |