【Java】生成UUID

import java.util.UUID;
 
public class MainProcess {
 
    public static void main(String[] args)
    {
        UUID uuid = UUID.randomUUID();
        System.out.println(uuid);
    }
}

 

posted @ 2017-09-02 21:08  Dsp Tian  阅读(406)  评论(0编辑  收藏  举报