类 AutoIdUtil


  • public class AutoIdUtil
    extends Object
    随机id
    作者:
    libo 2020年10月14日
    • 构造器详细资料

      • AutoIdUtil

        public AutoIdUtil()
    • 方法详细资料

      • getRandomId

        public static String getRandomId​(int length)
        返回一个随机id
        参数:
        length - 生成的长度 11+length
        返回:
      • getRandomLongId

        public static Long getRandomLongId​(int length)
      • getRandomLongId

        public static Long getRandomLongId()
      • getRandomLongId20

        public static Long getRandomLongId20()
      • getRandomLongId36

        public static Long getRandomLongId36()
      • getRandomLongId26

        public static Long getRandomLongId26()
      • getRandomId26

        public static String getRandomId26()
      • getRandomId30

        public static String getRandomId30()
      • getRandomId36

        public static String getRandomId36()