-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.Generator,icu.windea.breezeframework.core.component.RandomGenerator
@ExperimentalUnsignedTypes()@ComponentParam(name = "min", type = "UShort")@ComponentParam(name = "max", type = "UShort") public class RandomGenerators.RandomUShortGenerator extends AbstractRandomGenerator<UShort>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRandomGenerators.RandomUShortGenerator.Default
-
Field Summary
Fields Modifier and Type Field Description private final UShortminprivate final UShortmaxprivate final Map<String, Object>componentParamsprivate final Class<UShort>targetTypeprivate final StringcomponentId
-
Constructor Summary
Constructors Constructor Description RandomGenerators.RandomUShortGenerator(Map<String, Object> componentParams)
-
Method Summary
Modifier and Type Method Description final UShortgetMin()final UShortgetMax()final Map<String, Object>getComponentParams()组件参数。组件参数默认会向下传递。Component parameters. Class<UShort>getTargetType()目标类型。 StringgetComponentId()RandomGenerators.RandomUShortGeneratorcomponentCopy(Map<String, Object> componentParams)UShortgenerate()生成随机值。 -
Methods inherited from class icu.windea.breezeframework.core.component.RandomGenerators.RandomUShortGenerator
equals, hashCode, toString -
Methods inherited from class icu.windea.breezeframework.core.component.Generator
componentEquals, componentHashcode, componentToString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getComponentParams
final Map<String, Object> getComponentParams()
组件参数。组件参数默认会向下传递。
Component parameters. By default, component parameters will pass down.
-
getTargetType
Class<UShort> getTargetType()
目标类型。
-
getComponentId
String getComponentId()
-
componentCopy
RandomGenerators.RandomUShortGenerator componentCopy(Map<String, Object> componentParams)
-
-
-
-