X
- the type of the independent variable (input)Y
- the type of the dependent variable (output)public static final class MapBackedDiscreteFunction.Builder<X,Y> extends java.lang.Object implements DiscreteFunctionBuilder<X,Y>
Modifier and Type | Method and Description |
---|---|
MapBackedDiscreteFunction<X,Y> |
build() |
DiscreteFunctionBuilder<X,Y> |
put(java.util.Map.Entry<? extends X,? extends Y> entry) |
DiscreteFunctionBuilder<X,Y> |
put(X key,
Y value) |
DiscreteFunctionBuilder<X,Y> |
putAll(java.util.Map<? extends X,? extends Y> values) |
public DiscreteFunctionBuilder<X,Y> put(java.util.Map.Entry<? extends X,? extends Y> entry)
public DiscreteFunctionBuilder<X,Y> put(X key, Y value)
put
in interface DiscreteFunctionBuilder<X,Y>
public DiscreteFunctionBuilder<X,Y> putAll(java.util.Map<? extends X,? extends Y> values)
public MapBackedDiscreteFunction<X,Y> build()
build
in interface DiscreteFunctionBuilder<X,Y>