HashCodeCombine Method (Int32, Int32, Int32) |
Combines three hash codes.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static int Combine(
int hash1,
int hash2,
int hash3
)
Public Shared Function Combine (
hash1 As Integer,
hash2 As Integer,
hash3 As Integer
) As Integer
public:
static int Combine(
int hash1,
int hash2,
int hash3
)
static member Combine :
hash1 : int *
hash2 : int *
hash3 : int -> int
Parameters
- hash1
- Type: SystemInt32
The first hash code. - hash2
- Type: SystemInt32
The second hash code. - hash3
- Type: SystemInt32
The third hash code.
Return Value
Type:
Int32The combined hash code.
Remarks
This method is based on the MurmurHash3 algorithm.
See Also