A simple class to generate hash functions for some primitive types, intended for use with the HashMap class.
More...
|
| static int | generateHash (const int key, const int upperLimit) noexcept |
| | Generates a simple hash from an integer.
|
| |
| static int | generateHash (const int64 key, const int upperLimit) noexcept |
| | Generates a simple hash from an int64.
|
| |
| static int | generateHash (const String &key, const int upperLimit) noexcept |
| | Generates a simple hash from a string.
|
| |
| static int | generateHash (const var &key, const int upperLimit) noexcept |
| | Generates a simple hash from a variant.
|
| |
A simple class to generate hash functions for some primitive types, intended for use with the HashMap class.
- See Also
- HashMap
| static int DefaultHashFunctions::generateHash |
( |
const int |
key, |
|
|
const int |
upperLimit |
|
) |
| |
|
staticnoexcept |
Generates a simple hash from an integer.
| static int DefaultHashFunctions::generateHash |
( |
const int64 |
key, |
|
|
const int |
upperLimit |
|
) |
| |
|
staticnoexcept |
Generates a simple hash from an int64.
| static int DefaultHashFunctions::generateHash |
( |
const String & |
key, |
|
|
const int |
upperLimit |
|
) |
| |
|
staticnoexcept |
Generates a simple hash from a string.
| static int DefaultHashFunctions::generateHash |
( |
const var & |
key, |
|
|
const int |
upperLimit |
|
) |
| |
|
staticnoexcept |
The documentation for this class was generated from the following file: