Class HashUtils
Supplies simple deterministic hashes.
Inheritance
System.Object
HashUtils
Assembly: Sylves.dll
Syntax
public static class HashUtils : Object
Methods
Hash(Cell)
Declaration
public static int Hash(Cell cell)
Parameters
| Type |
Name |
Description |
| Cell |
cell |
|
Returns
| Type |
Description |
| System.Int32 |
|
Hash(Int32, Int32)
Declaration
public static int Hash(int v1, int v2)
Parameters
| Type |
Name |
Description |
| System.Int32 |
v1 |
|
| System.Int32 |
v2 |
|
Returns
| Type |
Description |
| System.Int32 |
|
Hash(Int32, Int32, Int32)
Declaration
public static int Hash(int v1, int v2, int v3)
Parameters
| Type |
Name |
Description |
| System.Int32 |
v1 |
|
| System.Int32 |
v2 |
|
| System.Int32 |
v3 |
|
Returns
| Type |
Description |
| System.Int32 |
|
Hash(Int32, Int32, Int32, Int32)
Declaration
public static int Hash(int v1, int v2, int v3, int v4)
Parameters
| Type |
Name |
Description |
| System.Int32 |
v1 |
|
| System.Int32 |
v2 |
|
| System.Int32 |
v3 |
|
| System.Int32 |
v4 |
|
Returns
| Type |
Description |
| System.Int32 |
|