Jpp
|
Auxiliary class for ordering of objects in the collection by the hash value of their keys. More...
#include <JHashMap.hh>
Public Member Functions | |
JComparator (const JEvaluator_t &evaluator=JEvaluator_t()) | |
Constructor. More... | |
bool | operator() (typename JClass< value_type >::argument_type first, typename JClass< value_type >::argument_type second) const |
Comparison of elements. More... | |
bool | operator() (typename JClass< value_type >::argument_type element, typename JClass< key_type >::argument_type x) const |
Comparison of element and key value. More... | |
Public Attributes | |
JEvaluator_t | getValue |
Function object for evaluation of key. More... | |
Auxiliary class for ordering of objects in the collection by the hash value of their keys.
Definition at line 79 of file JHashMap.hh.
|
inline |
Constructor.
evaluator | evaluator |
Definition at line 86 of file JHashMap.hh.
|
inline |
Comparison of elements.
first | first element |
second | second element |
Definition at line 98 of file JHashMap.hh.
|
inline |
Comparison of element and key value.
element | element |
x | key value |
Definition at line 112 of file JHashMap.hh.
JEvaluator_t JTOOLS::JHashMap< JKey_t, JValue_t, JEvaluator_t >::JComparator::getValue |
Function object for evaluation of key.
Definition at line 122 of file JHashMap.hh.