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