/src/main/java/net/finmath/marketdata/model/volatilities/SwaptionDataLattice.java
final DataKey key = new DataKey( moneynessBP, tenorCode) ;
final DataKey key = new DataKey ( tenorCode, moneynessBP ) ;
} public double getValue(final int maturityInMonths, final int tenorInMonths, final int moneynessBP, final QuotingConvention convention, final double displacement, final AnalyticModel model) { final DataKey key = new DataKey(maturityInMonths, tenorInMonths, moneynessBP); return convertToConvention(getValue(key), key, convention, displacement, quotingConvention, this.displacement, model); } public double getValue(final String tenorCode, final int moneynessBP, final QuotingConvention convention, final double displacement, final AnalyticModel model) { <extra_id_0> return convertToConvention(getValue(key), key, convention, displacement, quotingConvention, this.displacement, model); } private double convertToConvention(final double value, final DataKey key, final QuotingConvention toConvention, final double toDisplacement, final QuotingConvention fromConvention, final double fromDisplacement, final AnalyticModel model) { if(toConvention == fromConvention) { if(toConvention != QuotingConvention.PAYERVOLATILITYLOGNORMAL) {