Class PermutePropertySequenceDouble
Object
org.anchoranalysis.bean.AnchorBean<PermuteProperty<T>>
org.anchoranalysis.bean.permute.property.PermuteProperty<T>
org.anchoranalysis.bean.permute.property.PermutePropertySequence<Double>
org.anchoranalysis.bean.permute.property.PermutePropertySequenceDouble
public class PermutePropertySequenceDouble extends PermutePropertySequence<Double>
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 Constructor Description PermutePropertySequenceDouble() -
Method Summary
Modifier and Type Method Description StringdescribePropertyValue(Double value)Describes a particular property-value in a unique but human-readable way.doublegetDivisor()What to divide the integer-sequence by.Iterator<Double>propertyValues()An iterator with possible alternative values for the property.voidsetDivisor(double divisor)What to divide the integer-sequence by.Methods inherited from class org.anchoranalysis.bean.permute.property.PermutePropertySequence
getSequence, sequenceIterator, setSequenceMethods inherited from class org.anchoranalysis.bean.permute.property.PermuteProperty
createSetter, getAdditionalPropertyPaths, getPropertyPath, setAdditionalPropertyPaths, setPropertyPathMethods 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:PermutePropertyAn iterator with possible alternative values for the property.- Specified by:
propertyValuesin classPermuteProperty<Double>- Returns:
- a newly created iterator of all possible alternative values.
-
describePropertyValue
Description copied from class:PermutePropertyDescribes a particular property-value in a unique but human-readable way.- Specified by:
describePropertyValuein 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.
-