#include <Comparator.h>

Public Member Functions | |
| virtual | ~AbstractProxKeyComparator () |
| virtual int | compare (const ProxKey &lhs, const ProxKey &rhs) const =0 |
| indicates which of the two given prox/key-pairs is closer to the relative key | |
Definition at line 285 of file Comparator.h.
| virtual AbstractProxKeyComparator::~AbstractProxKeyComparator | ( | ) | [inline, virtual] |
| virtual int AbstractProxKeyComparator::compare | ( | const ProxKey & | lhs, | |
| const ProxKey & | rhs | |||
| ) | const [pure virtual] |
indicates which of the two given prox/key-pairs is closer to the relative key
| lhs | first prox/key-pair | |
| rhs | second prox/key-pair |
Implemented in KademliaPRComparator.
Referenced by BaseKeySortedVector< LookupEntry >::add(), and BaseKeySortedVector< LookupEntry >::isAddable().
1.5.8