Class GrowthStep

java.lang.Object
io.keikai.range.impl.autofill.GrowthStep
All Implemented Interfaces:
Step, Serializable

public class GrowthStep extends Object implements Step, Serializable
Step for growth sequence.
Author:
henrichen
See Also:
  • Constructor Details

    • GrowthStep

      public GrowthStep(double initial, double ratio, int type)
  • Method Details

    • getDataType

      public int getDataType()
      Description copied from interface: Step
      Returns the data type of this Step.
      Specified by:
      getDataType in interface Step
      Returns:
      the data type of this Step.
    • next

      public Object next(SCell cell)
      Description copied from interface: Step
      Return next value of this step sequence per the source cell.
      Specified by:
      next in interface Step
      Parameters:
      cell - the source cell for filling
      Returns:
      next value of this step per the source cell