public class AreaSource extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static AreaSource |
getInstance()
获取唯一实例
|
Area |
nextArea()
获取随机的地区信息
|
String |
randomAddress()
获取随机的详细地址
|
String |
randomCity(String separator)
随机城市名称
|
double |
randomLatitude()
随机纬度(中国)
|
double |
randomLongitude()
随机经度(中国)
|
String |
randomProvince()
随机省级行政区名称
|
String |
randomZipCode()
随机邮编
|
public static AreaSource getInstance()
public Area nextArea()
public String randomProvince()
public String randomZipCode()
public String randomAddress()
public double randomLatitude()
public double randomLongitude()
Copyright © 2020. All rights reserved.