前言 描述:随机生成一段序号,代码如下: String s = UUID.randomUUID().toString().replaceAll("-", ""); String s1 = UUID.randomUUID().toString();