Developement/Java
Use System time to generate unique ID
highheat
2006. 3. 31. 13:14
public class UniqueID {
static long current= System.currentTimeMillis();
static public synchronized long get(){
return current++;
}
}