/src/main/java/net/finmath/singleswaprate/calibration/SABRCubeCalibration.java
final ArrayList<Double> targetsList = targetsPayer;final ArrayList<Double> targetsPayer  = new ArrayList<>( ) ;
final ArrayList<Double> targetsPayer  = new ArrayList<> ( ) ;
System.arraycopy(baseVols, 0, parameters, numberOfSmiles, numberOfSmiles); System.arraycopy(volvols, 0, parameters, 2 * numberOfSmiles, numberOfSmiles); } private void generateTargets(final int maturity) { payerSwaptions = new ArrayList<>(); receiverSwaptions = new ArrayList<>(); <extra_id_0> final ArrayList<Double> targetsReceiver = new ArrayList<>(); for(final int moneyness : cashPayerPremiums.getGridNodesPerMoneyness().keySet()) { for(final int termination : cashPayerPremiums.getTenors(moneyness, maturity)) { payerSwaptions.add( new SwaptionInfo(moneyness, maturity, termination)); targetsPayer.add( cashPayerPremiums.getValue(maturity, termination, moneyness)); }