-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.Generator,icu.windea.breezeframework.core.component.RandomGenerator
@ComponentParam(name = "min", type = "Byte")@ComponentParam(name = "max", type = "Byte") public class RandomGenerators.RandomByteGenerator extends AbstractRandomGenerator<Byte>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRandomGenerators.RandomByteGenerator.Default
-
Field Summary
Fields Modifier and Type Field Description private final Byteminprivate final Bytemaxprivate final Map<String, Object>componentParamsprivate final Class<Byte>targetTypeprivate final StringcomponentId
-
Constructor Summary
Constructors Constructor Description RandomGenerators.RandomByteGenerator(Map<String, Object> componentParams)
-
Method Summary
Modifier and Type Method Description final BytegetMin()final BytegetMax()final Map<String, Object>getComponentParams()组件参数。组件参数默认会向下传递。Component parameters. Class<Byte>getTargetType()目标类型。 StringgetComponentId()RandomGenerators.RandomByteGeneratorcomponentCopy(Map<String, Object> componentParams)Bytegenerate()生成随机值。 -
Methods inherited from class icu.windea.breezeframework.core.component.RandomGenerators.RandomByteGenerator
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<Byte> getTargetType()
目标类型。
-
getComponentId
String getComponentId()
-
componentCopy
RandomGenerators.RandomByteGenerator componentCopy(Map<String, Object> componentParams)
-
-
-
-