A simple class to generate hash functions for some primitive types, intended for use with the HashMap class. More...
#include <juce_HashMap.h>
Static Public Member Functions | |
static int | generateHash (uint32 key, int upperLimit) noexcept |
Generates a simple hash from an unsigned int. | |
static int | generateHash (int32 key, int upperLimit) noexcept |
Generates a simple hash from an integer. | |
static int | generateHash (uint64 key, int upperLimit) noexcept |
Generates a simple hash from a uint64. | |
static int | generateHash (int64 key, int upperLimit) noexcept |
Generates a simple hash from an int64. | |
static int | generateHash (const String &key, int upperLimit) noexcept |
Generates a simple hash from a string. | |
static int | generateHash (const var &key, int upperLimit) noexcept |
Generates a simple hash from a variant. | |
static int | generateHash (const void *key, int upperLimit) noexcept |
Generates a simple hash from a void ptr. | |
static int | generateHash (const Uuid &key, int upperLimit) noexcept |
Generates a simple hash from a UUID. | |
A simple class to generate hash functions for some primitive types, intended for use with the HashMap class.
Generates a simple hash from an unsigned int.
Generates a simple hash from a uint64.