public static final class MultiFactorTracker.Builder
extends java.lang.Object
MultiFactorTracker object.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
MultiFactorTracker |
build()
Builds a
MultiFactorTracker block. |
MultiFactorTracker.Builder |
optFactor(float factor)
Set the value of the multiplicative factor.
|
MultiFactorTracker.Builder |
setBaseValue(float baseValue)
Sets the initial value after no steps.
|
MultiFactorTracker.Builder |
setSteps(int[] steps)
Sets an array of integers indicating when the value should be changed, usually in an
uneven interval of steps.
|
public MultiFactorTracker.Builder setBaseValue(float baseValue)
baseValue - the initial valueBuilderpublic MultiFactorTracker.Builder setSteps(int[] steps)
steps - an array of integers indicating when the value should be changeBuilderpublic MultiFactorTracker.Builder optFactor(float factor)
factor - the value of the multiplicative factorBuilderpublic MultiFactorTracker build()
MultiFactorTracker block.MultiFactorTracker block