[JAVA]UUID

import java.util.UUID;
public class RecID {
    /**
     * @param args
     */
    public static void main(String[] args) {
       Integer num = Integer.parseInt(args[0]);
       for(int i = 0; i< num;i++){
	   UUID uuid = UUID.randomUUID();
	   System.out.println(uuid.toString().replace("-",""));
       }
   }
}

 

posted @ 2014-02-21 12:09  MagicLetters  阅读(135)  评论(0编辑  收藏  举报