/src/main/java/net/finmath/singleswaprate/annuitymapping/AnnuityMappingFactory.java
return factory.build( type) ;
return factory.build ( type, model ) ;
} public static AnnuityMapping buildAnnuityMapping(final double strike, final Schedule fixSchedule, final Schedule floatSchedule, final String discountCurveName, final String forwardCurveName, final String volatilityCubeName, final AnnuityMappingType type, final VolatilityCubeModel model, final double lowerBound, final double upperBound, final int numberOfEvaluationPoints) { final AnnuityMappingFactory factory = new AnnuityMappingFactory(fixSchedule, floatSchedule, discountCurveName, forwardCurveName, volatilityCubeName, strike, lowerBound, upperBound, numberOfEvaluationPoints); <extra_id_0> } public AnnuityMappingFactory(final Schedule fixSchedule, final Schedule floatSchedule, final String discountCurveName, final String forwardCurveName, final String volatilityCubeName) { this(fixSchedule, floatSchedule, discountCurveName, forwardCurveName, volatilityCubeName, Double.NaN, 0, 0, -1); } public AnnuityMappingFactory(final Schedule fixSchedule, final Schedule floatSchedule,