Class PermutePropertySequenceDouble
Assigns an arithmetic sequence of doubles, derived by diving an integer sequence by a divider.
Each element to be assigned corresponds to the respective element in the integer-sequence, but
divided by divisor
.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribePropertyValue
(Double value) Describes a particular property-value in a unique but human-readable way.double
What to divide the integer-sequence by.An iterator with possible alternative values for the property.void
setDivisor
(double divisor) What to divide the integer-sequence by.Methods inherited from class org.anchoranalysis.bean.permute.property.PermutePropertySequence
getSequence, sequenceIterator, setSequence
Methods inherited from class org.anchoranalysis.bean.permute.property.PermuteProperty
createSetter, getAdditionalPropertyPaths, getPropertyPath, setAdditionalPropertyPaths, setPropertyPath
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
PermutePropertySequenceDouble
public PermutePropertySequenceDouble()
-
-
Method Details
-
propertyValues
Description copied from class:PermuteProperty
An iterator with possible alternative values for the property.- Specified by:
propertyValues
in classPermuteProperty<Double>
- Returns:
- a newly created iterator of all possible alternative values.
-
describePropertyValue
Description copied from class:PermuteProperty
Describes a particular property-value in a unique but human-readable way.- Specified by:
describePropertyValue
in classPermuteProperty<Double>
- Parameters:
value
- the value to describe, which should one of the values returned byPermuteProperty.propertyValues()
.- Returns:
- the description of
value
.
-
getDivisor
public double getDivisor()What to divide the integer-sequence by. -
setDivisor
public void setDivisor(double divisor) What to divide the integer-sequence by.
-