X
- the type of the values in x-direction (Independent variable)Y
- the type of the values in y-direction (Dependent variable)public static final class SortedMapBackedDiscreteFunction.Builder<X extends java.lang.Comparable<X>,Y> extends java.lang.Object implements DiscreteFunctionBuilder<X,Y>
Modifier and Type | Method and Description |
---|---|
SortedMapBackedDiscreteFunction<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> |
put(X key,
Y value,
Y error) |
DiscreteFunctionBuilder<X,Y> |
putAll(java.util.Map<? extends X,? extends Y> values) |
DiscreteFunctionBuilder<X,Y> |
withInterpolationStrategy(InterpolationStrategy<X,Y> strategy) |
DiscreteFunctionBuilder<X,Y> |
withName(java.lang.String newName) |
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 extends java.lang.Comparable<X>,Y>
public DiscreteFunctionBuilder<X,Y> put(X key, Y value, Y error)
put
in interface DiscreteFunctionBuilder<X extends java.lang.Comparable<X>,Y>
public DiscreteFunctionBuilder<X,Y> putAll(java.util.Map<? extends X,? extends Y> values)
public DiscreteFunctionBuilder<X,Y> withInterpolationStrategy(InterpolationStrategy<X,Y> strategy)
withInterpolationStrategy
in interface DiscreteFunctionBuilder<X extends java.lang.Comparable<X>,Y>
public DiscreteFunctionBuilder<X,Y> withName(java.lang.String newName)
withName
in interface DiscreteFunctionBuilder<X extends java.lang.Comparable<X>,Y>
public SortedMapBackedDiscreteFunction<X,Y> build()
build
in interface DiscreteFunctionBuilder<X extends java.lang.Comparable<X>,Y>