Long与字符串转化以及随机数的使用 1. Long类型转换为字符串
Random rd = new Random(); dictionary.setViewOrderIndex(rd.nextInt(10000));