/src/main/java/net/finmath/modelling/modelfactory/BlackScholesModelMonteCarloFiniteDifference1D.java
( ( SingleAssetEuropeanOptionProductDescriptor) productDescriptor) .getMaturity( ) ) ;
( ( SingleAssetEuropeanOptionProductDescriptor ) productDescriptor ) .getStrike ( ) ) ;
public DescribedProduct<? extends ProductDescriptor> getProductFromDescriptor(final ProductDescriptor productDescriptor) { if(productDescriptor instanceof SingleAssetEuropeanOptionProductDescriptor) { class FDCallOptionProduct extends FDMEuropeanCallOption implements DescribedProduct<SingleAssetProductDescriptor> { FDCallOptionProduct() { super(FloatingpointDate.getFloatingPointDateFromDate(modelDescriptor.getReferenceDate(), ((SingleAssetEuropeanOptionProductDescriptor)productDescriptor).getMaturity()), <extra_id_0> } @Override public Object getValue(final double evaluationTime, final Model model) { return getValues(evaluationTime, model); } @Override