|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jrefinery.chart.demo.Performance
A basic performance test for a couple of common operations.
Constructor Summary | |
Performance()
Default constructor. |
Method Summary | |
void |
createLines(int count)
Creates lines in a loop. |
void |
getNumber(int count)
Repeatedly grabs a value from a Number instance. |
void |
getValue(int count)
Repeatedly grabs a value from a double. |
static void |
main(java.lang.String[] args)
Starting point for the application. |
void |
setLines(int count)
Creates one line, then repeatedly calls the setLine method. |
void |
writeTime(java.lang.String text,
java.util.Date time)
Writes the current time to the console. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Performance()
Method Detail |
public void createLines(int count)
count
- the number of lines to create.public void setLines(int count)
count
- the number of times to call the setLine method.public void getNumber(int count)
count
- the number of times to call doubleValue().public void getValue(int count)
count
- the number of times to fetch the value.public void writeTime(java.lang.String text, java.util.Date time)
text
- the prefix.time
- the time.public static void main(java.lang.String[] args)
args
- ignored.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |