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