public class PrintMillis extends Object
final PrintMillis timer = new PrintMillis();
...
timer.println( "start" );
...
timer.println( "middle" );
...
...
timer.println( "end" );
| Constructor and Description |
|---|
PrintMillis() |
| Modifier and Type | Method and Description |
|---|---|
void |
println(String msg)
Print out the milliseconds that have elapsed since the last call.
|
public void println(String msg)
Copyright © 2017. All rights reserved.