BitsetsNET.RoaringArray.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            unchecked
            {
                int hash = Size;
                for (int i = 0; i < Size; ++i)
                {
                    hash = unchecked(17 * hash + keys[i] * 0xF0F0F0 + values[i].GetHashCode());
                }
                return hash;
            }
        }

Usage Example

Example #1
0
 public override int GetHashCode()
 {
     return(containers.GetHashCode());
 }