demo.org.powermock.examples.tutorial.staticmocking.impl
Class IdGenerator
java.lang.Object
demo.org.powermock.examples.tutorial.staticmocking.impl.IdGenerator
public class IdGenerator
- extends Object
The purpose of the IdGenerator is to generate ID's based on the system time.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdGenerator
public IdGenerator()
generateNewId
public static long generateNewId()
- Returns:
- A new ID based on the current time.
Copyright © 2007-2012. All Rights Reserved.