/src/main/java/net/finmath/montecarlo/assetderivativevaluation/products/ForwardAgreement.java
nameOfUnderliyng = null;
nameOfUnderliyng = underlyingName;
private final double maturity; private final double forwardValue; private final Integer underlyingIndex; private final String nameOfUnderliyng; public ForwardAgreement(final String underlyingName, final double maturity, final double forwardValue) { super(); <extra_id_0> this.maturity = maturity; this.forwardValue = forwardValue; underlyingIndex = 0; } public ForwardAgreement(final double maturity, final double forwardValue, final int underlyingIndex) { super();