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: SingleMarketDataBox<?> other = (SingleMarketDataBox<?>) obj;
                SingleMarketDataBox <object> other = (SingleMarketDataBox <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(SingleMarketDataBox <T> beanToCopy)
 {
     this.value_Renamed = beanToCopy.Value;
 }