//----------------------------------------------------------------------- public override bool Equals(object obj) { if (obj == this) { return(true); } if (obj != null && obj.GetType() == this.GetType()) { DefaultIborFutureOptionScenarioMarketData other = (DefaultIborFutureOptionScenarioMarketData)obj; return(JodaBeanUtils.equal(lookup, other.lookup) && JodaBeanUtils.equal(marketData, other.marketData)); } return(false); }
//------------------------------------------------------------------------- public IborFutureOptionScenarioMarketData withMarketData(ScenarioMarketData marketData) { return(DefaultIborFutureOptionScenarioMarketData.of(lookup, marketData)); }