K2Informatics.Erlnet.OtpErlangObject.Hash.combine C# (CSharp) Méthode

combine() public méthode

public combine ( int a ) : void
a int
Résultat void
            public void combine(int a)
            {
                abc[0] += (uint)a;
                mix();
            }

Same methods

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

Usage Example

Exemple #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