Class MultiFactorTracker.Builder

    • Method Detail

      • setBaseValue

        public MultiFactorTracker.Builder setBaseValue​(float baseValue)
        Sets the initial value after no steps.
        Parameters:
        baseValue - the initial value
        Returns:
        this Builder
      • setSteps

        public MultiFactorTracker.Builder setSteps​(int[] steps)
        Sets an array of integers indicating when the value should be changed, usually in an uneven interval of steps.
        Parameters:
        steps - an array of integers indicating when the value should be change
        Returns:
        this Builder
      • optFactor

        public MultiFactorTracker.Builder optFactor​(float factor)
        Set the value of the multiplicative factor.
        Parameters:
        factor - the value of the multiplicative factor
        Returns:
        this Builder