K2Informatics.Erlnet.OtpErlangObject.Hash.combine C# (CSharp) Method

combine() public method

public combine ( long a ) : void
a long
return void
            public void combine(long a)
            {
                combine((int)(((uint)a) >> 32), (int)a);
            }

Same methods

OtpErlangObject.Hash::combine ( byte b ) : void
OtpErlangObject.Hash::combine ( int a ) : void
OtpErlangObject.Hash::combine ( int a, int b ) : void

Usage Example

示例#1
0
 public override int GetHashCode()
 {
     if (hashCodeValue == 0)
     {
         OtpErlangObject.Hash hash = new OtpErlangObject.Hash(5);
         hash.combine(local.GetHashCode() + remote.GetHashCode());
         hashCodeValue = hash.valueOf();
     }
     return hashCodeValue;
 }
All Usage Examples Of K2Informatics.Erlnet.OtpErlangObject.Hash::combine