net.sf.jperfprobe
Class MockTime

java.lang.Object
  extended by net.sf.jperfprobe.MockTime
All Implemented Interfaces:
Time

public class MockTime
extends Object
implements Time

MockTime implements a mocked Time class, used for test purpose

Author:
Tor-Erik Larsen Date: 09.mai.2007 Time: 14:26:23

Constructor Summary
MockTime()
           
 
Method Summary
 long getNanos()
           
 void setTime(long time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockTime

public MockTime()
Method Detail

getNanos

public long getNanos()
Specified by:
getNanos in interface Time

setTime

public void setTime(long time)


Copyright © 2004-2011. All Rights Reserved.