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