/src/main/java/net/finmath/marketdata2/calibration/ParameterAggregation.java
this.parameters = new LinkedHashSet<>( Arrays.asList( parameters) ) ;this.parameters = new LinkedHashSet<>( parameters) ;
this.parameters = new LinkedHashSet<> ( parameters ) ;
public class ParameterAggregation<E extends ParameterObject> implements ParameterObject { private final Set<ParameterObject> parameters; public ParameterAggregation() { this.parameters = new LinkedHashSet<>(); } public ParameterAggregation(final Set<E> parameters) { <extra_id_0> } public ParameterAggregation(final E[] parameters) { this.parameters = new LinkedHashSet<>(Arrays.asList(parameters)); } public void add(final E parameterObject) { parameters.add(parameterObject);