public class AddressRandomGenerator extends Object implements RandomGenerator<com.github.developframework.regiondata.County>
| 构造器和说明 |
|---|
AddressRandomGenerator() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
forString(MockPlaceholder mockPlaceholder,
com.github.developframework.regiondata.County value)
描述随机值如何转换到字符串
|
String |
key() |
com.github.developframework.regiondata.County |
randomValue(RandomGeneratorRegistry randomGeneratorRegistry,
MockPlaceholder mockPlaceholder,
MockCache mockCache)
描述如何生成随机值
|
public com.github.developframework.regiondata.County randomValue(RandomGeneratorRegistry randomGeneratorRegistry, MockPlaceholder mockPlaceholder, MockCache mockCache)
RandomGeneratorrandomValue 在接口中 RandomGenerator<com.github.developframework.regiondata.County>randomGeneratorRegistry - 生成器注册器mockPlaceholder - 占位符mockCache - 缓存public String forString(MockPlaceholder mockPlaceholder, com.github.developframework.regiondata.County value)
RandomGeneratorforString 在接口中 RandomGenerator<com.github.developframework.regiondata.County>mockPlaceholder - 占位符value - 随机值Copyright © 2018. All rights reserved.