public class AttributeSetterEInt extends AttributeSetter<Integer>
AttributeSetter| Constructor and Description |
|---|
AttributeSetterEInt(Random random)
Creates a new AttributeSetter for Integer attributes.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
createNewAttribute()
Creates one attribute of type
E. |
Collection<Integer> |
createNewAttributes(int maxAmount)
Creates a collection of attributes of type
E. |
getRandompublic AttributeSetterEInt(Random random)
random - Random object used to create attribute valuespublic Integer createNewAttribute()
E.
The result is determined by random.createNewAttribute in class AttributeSetter<Integer>public Collection<Integer> createNewAttributes(int maxAmount)
E.
The result is determined by random.createNewAttributes in class AttributeSetter<Integer>maxAmount - the maximum amount of attributes to createCopyright © 2017. All rights reserved.