moagg.util
Class StopWatch

java.lang.Object
  extended by moagg.util.StopWatch

public class StopWatch
extends java.lang.Object

Own StopWatch implementation for profiling/debugging purposes, because the StopWatch from commons-lang is a bit strange to use...


Constructor Summary
StopWatch(java.lang.String name)
           
 
Method Summary
 long getTime()
           
 void reset()
           
 void start()
           
 void stop()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StopWatch

public StopWatch(java.lang.String name)
Method Detail

start

public void start()

stop

public void stop()

getTime

public long getTime()

reset

public void reset()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008. All Rights Reserved.