| 程序包 | 说明 |
|---|---|
| cn.nothinghere.brook | |
| cn.nothinghere.brook.builder | |
| cn.nothinghere.brook.value | |
| cn.nothinghere.brook.value.bank | |
| cn.nothinghere.brook.value.region |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
Value<T> |
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CompanyBuilder.Company |
static class |
EmailBuilder.Domain |
static class |
PhoneBuilder.Mac |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Birthday |
class |
Gender |
class |
Name |
class |
Occupation |
class |
Plate
省-市 OR 车牌类型
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Bin
银行卡卡bin类
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Area
省-市-区
分析一下有可能的传参情况:
1.有传入省/市/区,则根据传入的返回,如果没有与传参对应的结果,则抛出异常
2.只传省,则找到对应的省,没有则抛出异常,若有则省下属市随机,再在市下属区域随机
3.只传省市,则找到对应的省、市,没有则抛出异常,若有再在下属区域随机,
4.省也没有传,省市区全部随机
|
Copyright © 2020. All rights reserved.