Class 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 Details

    • PermutePropertySequenceDouble

      public PermutePropertySequenceDouble()
  • Method Details

    • propertyValues

      public Iterator<Double> propertyValues()
      Description copied from class: PermuteProperty
      An iterator with possible alternative values for the property.
      Specified by:
      propertyValues in class PermuteProperty<Double>
      Returns:
      a newly created iterator of all possible alternative values.
    • describePropertyValue

      public String describePropertyValue(Double value)
      Description copied from class: PermuteProperty
      Describes a particular property-value in a unique but human-readable way.
      Specified by:
      describePropertyValue in class PermuteProperty<Double>
      Parameters:
      value - the value to describe, which should one of the values returned by PermuteProperty.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.