public class TraceItem
extends java.lang.Object
TraceItem
represents one line of a trace file.Modifier and Type | Field and Description |
---|---|
protected int |
hour |
protected int |
length |
protected int |
minutes |
protected double |
seconds |
Constructor and Description |
---|
TraceItem() |
TraceItem(int hour,
int minutes,
double seconds,
int length) |
Modifier and Type | Method and Description |
---|---|
int |
getHour() |
int |
getLength() |
int |
getMinutes() |
double |
getSeconds() |
void |
setHour(int hour) |
void |
setLength(int length) |
void |
setMinutes(int minutes) |
void |
setSeconds(double seconds) |
java.lang.String |
toString() |
protected int hour
protected int minutes
protected double seconds
protected int length
public TraceItem(int hour, int minutes, double seconds, int length)
public TraceItem()
public int getHour()
public void setHour(int hour)
public int getMinutes()
public void setMinutes(int minutes)
public double getSeconds()
public void setSeconds(double seconds)
public int getLength()
public void setLength(int length)
public java.lang.String toString()
toString
in class java.lang.Object