org.eclipse.emf.emfstore.internal.modelmutator.intern.attribute
Class AttributeSetterEFloat
java.lang.Object
org.eclipse.emf.emfstore.internal.modelmutator.intern.attribute.AttributeSetter<Float>
org.eclipse.emf.emfstore.internal.modelmutator.intern.attribute.AttributeSetterEFloat
public class AttributeSetterEFloat
- extends AttributeSetter<Float>
Class for creating random Float values.
- Author:
- Eugen Neufeld, Stephan Koehler, Philip Achenbach
- See Also:
AttributeSetter
AttributeSetterEFloat
public AttributeSetterEFloat(Random random)
- Creates a new AttributeSetter for Float attributes.
- Parameters:
random
- Random object used to create attribute values
createNewAttribute
public Float createNewAttribute()
- Creates one attribute of type
E
.
The result is determined by random
.
- Specified by:
createNewAttribute
in class AttributeSetter<Float>
- Returns:
- the created attribute
createNewAttributes
public Collection<Float> createNewAttributes(int maxAmount)
- Creates a collection of attributes of type
E
.
The result is determined by random
.
- Specified by:
createNewAttributes
in class AttributeSetter<Float>
- Parameters:
maxAmount
- the maximum amount of attributes to create
- Returns:
- all created attributes as a collection
Copyright © 2015. All Rights Reserved.