java uuid 生成

 

 

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

 

refurl:http://www.cnblogs.com/jdonson/archive/2009/07/22/1528466.html

你可能感兴趣的:(java)