-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.ConfigurableComponent,icu.windea.breezeframework.core.component.ConfigurableRandomGenerator,icu.windea.breezeframework.core.component.RandomGenerator,icu.windea.breezeframework.core.component.TypedComponent,icu.windea.breezeframework.core.model.Configurable
@ConfigParam(name = min, type = Char)@ConfigParam(name = max, type = Char) public class RandomGenerator.RandomCharGenerator extends AbstractRandomGenerator<Char> implements ConfigurableRandomGenerator<Char>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRandomGenerator.RandomCharGenerator.Default
-
Constructor Summary
Constructors Constructor Description RandomGenerator.RandomCharGenerator(Map<String, Object> configParams)
-
Method Summary
Modifier and Type Method Description final CharactergetMin()final CharactergetMax()final Map<String, Object>getConfigParams()配置参数。 Class<Character>getTargetType()目标类型。 RandomGenerator.RandomCharGeneratorconfigure(Map<String, Object> configParams)根据指定的配置复制当前对象,返回一个新对象。 Charactergenerate()生成随机值。 -
-
Method Detail
-
getConfigParams
final Map<String, Object> getConfigParams()
配置参数。
-
getTargetType
Class<Character> getTargetType()
目标类型。
-
configure
RandomGenerator.RandomCharGenerator configure(Map<String, Object> configParams)
根据指定的配置复制当前对象,返回一个新对象。
-
-
-
-