public override bool Equals(object obj) { if (obj == this) { return(true); } if (obj != null && obj.GetType() == this.GetType()) { //JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET: //ORIGINAL LINE: ScenarioMarketDataBox<?> other = (ScenarioMarketDataBox<?>) obj; ScenarioMarketDataBox <object> other = (ScenarioMarketDataBox <object>)obj; return(JodaBeanUtils.equal(value, other.value)); } return(false); }
/// <summary> /// Restricted copy constructor. </summary> /// <param name="beanToCopy"> the bean to copy from, not null </param> internal Builder(ScenarioMarketDataBox <T> beanToCopy) { this.value_Renamed = beanToCopy.Value; }