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