E - the attribute type of the attributes to createpublic abstract class AttributeSetter<E> extends Object
| Constructor and Description |
|---|
AttributeSetter(Random random)
The construction of the AttributeSetter with Random object.
|
| Modifier and Type | Method and Description |
|---|---|
abstract E |
createNewAttribute()
Creates one attribute of type
E. |
abstract Collection<E> |
createNewAttributes(int maxAmount)
Creates a collection of attributes of type
E. |
Random |
getRandom() |
public AttributeSetter(Random random)
random - the random object used for the setterspublic abstract E createNewAttribute()
E.
The result is determined by random.public abstract Collection<E> createNewAttributes(int maxAmount)
E.
The result is determined by random.maxAmount - the maximum amount of attributes to createpublic Random getRandom()
Copyright © 2017. All rights reserved.