Exemplo n.º 1
0
        //@Override
        public override int GetHashCode()
        {
            int prime  = 31;
            int result = 1;

            result  = prime * result + System.Convert.ToInt32(GetBoost());
            result  = prime * result;
            result += rewriteMethod.GetHashCode();
            return(result);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            const int prime  = 31;
            int       result = 1;

            result = prime * result + J2N.BitConversion.SingleToInt32Bits(Boost);
            result = prime * result + m_rewriteMethod.GetHashCode();
            if (m_field != null)
            {
                result = prime * result + m_field.GetHashCode();
            }
            return(result);
        }
Exemplo n.º 3
0
        public override int GetHashCode()
        {
            const int prime  = 31;
            int       result = 1;

            result = prime * result + Number.FloatToIntBits(Boost);
            result = prime * result + rewriteMethod.GetHashCode();
            if (field != null)
            {
                result = prime * result + field.GetHashCode();
            }
            return(result);
        }