-
- 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 = "UInt")@ComponentParam(name = "max", type = "UInt") public class RandomGenerators.RandomUIntGenerator extends AbstractRandomGenerator<UInt>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRandomGenerators.RandomUIntGenerator.Default
-
Field Summary
Fields Modifier and Type Field Description private final UIntminprivate final UIntmaxprivate final Map<String, Object>componentParamsprivate final Class<UInt>targetTypeprivate final StringcomponentId
-
Constructor Summary
Constructors Constructor Description RandomGenerators.RandomUIntGenerator(Map<String, Object> componentParams)
-
Method Summary
Modifier and Type Method Description final UIntgetMin()final UIntgetMax()final Map<String, Object>getComponentParams()组件参数。组件参数默认会向下传递。Component parameters. Class<UInt>getTargetType()目标类型。 StringgetComponentId()RandomGenerators.RandomUIntGeneratorcomponentCopy(Map<String, Object> componentParams)UIntgenerate()生成随机值。 -
Methods inherited from class icu.windea.breezeframework.core.component.RandomGenerators.RandomUIntGenerator
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<UInt> getTargetType()
目标类型。
-
getComponentId
String getComponentId()
-
componentCopy
RandomGenerators.RandomUIntGenerator componentCopy(Map<String, Object> componentParams)
-
-
-
-