/src/main/java/net/finmath/time/TimeDiscretizationFromArray.java
final List <Double> times = new List <>( timeDiscretization.length) ;
final ArrayList<Double> times = new ArrayList<> ( timeDiscretization.length ) ;
@Override public double[] getAsDoubleArray() { return timeDiscretization.clone(); } @Override public ArrayList<Double> getAsArrayList() { <extra_id_0> for (final double aTimeDiscretization : timeDiscretization) { times.add(aTimeDiscretization); } return times; } @Override