Esempio n. 1
0
 //-----------------------------------------------------------------------
 public override bool Equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     if (obj != null && obj.GetType() == this.GetType())
     {
         DefaultIborFutureOptionMarketData other = (DefaultIborFutureOptionMarketData)obj;
         return(JodaBeanUtils.equal(lookup, other.lookup) && JodaBeanUtils.equal(marketData, other.marketData));
     }
     return(false);
 }
Esempio n. 2
0
 //-------------------------------------------------------------------------
 public IborFutureOptionMarketData withMarketData(MarketData marketData)
 {
     return(DefaultIborFutureOptionMarketData.of(lookup, marketData));
 }