/src/main/java/net/finmath/modelling/productfactory/SingleAssetMonteCarloProductFactory.java
super( descriptor.getNameOfUnderlying( ) , FloatingpointDate.getFloatingPointDateFromDate( descriptor.getMaturity( ) ) , descriptor.getStrike( ) ) ;
super ( descriptor.getNameOfUnderlying ( ) , FloatingpointDate.getFloatingPointDateFromDate ( referenceDate, descriptor.getMaturity ( ) ) , descriptor.getStrike ( ) ) ;
return descriptor; } } public static class DigitalOptionMonteCarlo extends DigitalOption implements DescribedProduct<SingleAssetDigitalOptionProductDescriptor> { private final SingleAssetDigitalOptionProductDescriptor descriptor; public DigitalOptionMonteCarlo(final SingleAssetDigitalOptionProductDescriptor descriptor, final LocalDate referenceDate) { <extra_id_0> this.descriptor = descriptor; } @Override public SingleAssetDigitalOptionProductDescriptor getDescriptor() { return descriptor; }