A simple class to generate hash functions for some primitive types, intended for use with the HashMap class. More...
Static Public Member Functions | |
| static int | generateHash (const int key, const int upperLimit) noexcept |
| Generates a simple hash from an integer. | |
| 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.
| static int DefaultHashFunctions::generateHash | ( | const int | key, |
| const int | upperLimit | ||
| ) | [static] |
Generates a simple hash from an integer.
| static int DefaultHashFunctions::generateHash | ( | const String & | key, |
| const int | upperLimit | ||
| ) | [static] |
Generates a simple hash from a string.
| static int DefaultHashFunctions::generateHash | ( | const var & | key, |
| const int | upperLimit | ||
| ) | [static] |