|Modifier and Type||Method and Description|
Adds a new element to the
public FillLevelFunction.Builder<T> add(double upperBound, T value)
FillLevelFunctionthat we are creating. It will use the upperBound of the last element (or the lowerBound that we started with if it does not exist) as the lowerBound for the new element.
upperBound- The upperBound of the new element. This must always be larger than the lowerBound.
value- The value that is to be associated with this element