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