final LinkedHashMap<String, double[]> curveNodes = new LinkedHashMap<>();
final LinkedHashMap<String, Interpolator1D> interpolators = new LinkedHashMap<>();
final Map<String, Integer> nodesPerCurve = new HashMap<>();
final HistoricalTimeSeriesBundle timeSeries = getTimeSeriesBundle(inputs, targetSpec, curveCalculationConfigName);
for (final String curveName : curveNames) {
final InterpolatedYieldCurveSpecificationWithSecurities spec = getYieldCurveSpecification(inputs, targetSpec, curveName);
if (spec == null) {
continue;
}
int nInstruments = 0;
final Interpolator1D interpolator = spec.getInterpolator();
final SnapshotDataBundle marketData = getMarketData(inputs, targetSpec, curveName);
final DoubleArrayList nodeTimes = new DoubleArrayList();
FixedIncomeStripWithSecurity previousStrip = null;
for (final FixedIncomeStripWithSecurity strip : spec.getStrips()) {
final Double marketValue = marketData.getDataPoint(strip.getSecurityIdentifier());
if (marketValue == null) {
throw new OpenGammaRuntimeException("Could not get market data for " + strip.getSecurityIdentifier());
}
final Security security = strip.getSecurity();