1 #ifndef __JTOOLS__JHASHEVALUATOR__
2 #define __JTOOLS__JHASHEVALUATOR__
10 namespace JPP {
using namespace JTOOLS; }
31 template<
class JKey_t>
37 inline int operator()(
const char key)
const {
return (
int) key; }
38 inline int operator()(
const unsigned char key)
const {
return (
int) key; }
39 inline int operator()(
const short key)
const {
return (
int) key; }
40 inline int operator()(
const unsigned short key)
const {
return (
int) key; }
41 inline int operator()(
const int key)
const {
return (
int) key; }
42 inline int operator()(
const unsigned int key)
const {
return (
int) key; }
43 inline int operator()(
const long int key)
const {
return (
int) key; }
44 inline int operator()(
const unsigned long int key)
const {
return (
int) key; }
45 inline int operator()(
const long long int key)
const {
return (
int) key; }
46 inline int operator()(
const unsigned long long int key)
const {
return (
int) key; }