net.sourceforge.atunes.utils
Class Timer

java.lang.Object
  extended by net.sourceforge.atunes.utils.Timer

public class Timer
extends java.lang.Object

This class is used to track times Just do: Timer.start() double time = Timer.stop()


Constructor Summary
Timer()
           
 
Method Summary
static void start()
          Starts timer.
static double stop()
          Ends timer, returning time elapsed in seconds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Timer

public Timer()
Method Detail

start

public static void start()
Starts timer.


stop

public static double stop()
Ends timer, returning time elapsed in seconds.

Returns:
the double


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.