public class OtherSource extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static OtherSource |
getInstance()
获取唯一实例
|
String |
randomChinese()
获取随机的1个汉字
|
String |
randomChinese(int count)
获取随机N个汉字
|
String |
randomChineseSentence()
随机中文句子
|
String |
randomCompanyName(String province)
随机公司名称
|
String[] |
randomFund()
随机基金
|
String |
randomHexColor()
随机HEX颜色值
|
String |
randomPlateNumber()
生成随机的中国大陆车牌号(非新能源车型)
|
String |
randomPlateNumber(boolean isNewEnergyVehicle)
生成随机的中国大陆车牌号
|
int[] |
randomRgbColor()
随机RGB颜色值
|
String[] |
randomStock()
随机股票
|
public static OtherSource getInstance()
public String randomChinese()
public String randomChinese(int count)
count - 数量public String randomPlateNumber(boolean isNewEnergyVehicle)
isNewEnergyVehicle - 是否为新能源车型public String randomPlateNumber()
public String randomCompanyName(String province)
province - 省份public String randomChineseSentence()
public int[] randomRgbColor()
public String randomHexColor()
public String[] randomStock()
public String[] randomFund()
Copyright © 2020. All rights reserved.