Class MapBackedDiscreteFunction.Builder<X,​Y>

  • Type Parameters:
    X - the type of the independent variable (input)
    Y - the type of the dependent variable (output)
    All Implemented Interfaces:
    DiscreteFunctionBuilder<X,​Y>
    Enclosing class:
    MapBackedDiscreteFunction<X,​Y>

    public static final class MapBackedDiscreteFunction.Builder<X,​Y>
    extends java.lang.Object
    implements DiscreteFunctionBuilder<X,​Y>
    The builder for the function based on a map. This class provides methods to add values to the function.