4 template<typename A, typename B>
30 template<typename A, typename B>
31 inline unsigned int pairHashFunction(Pair<A, B> *p) {
32 return (p->getFirst() << 1) ^ p->getSecond();
35 template<typename A, typename B>
36 inline bool pairEquals(Pair<A, B> *a, Pair<A, B> *b) {
37 return (a->getFirst() == b->getFirst() ) && (a->getSecond() == b->getSecond());
40 inline unsigned int pairHashFunction(Pair<int64_t, int64_t> p) {
41 return (p.getFirst() << 1) ^ p.getSecond();
44 inline bool pairEquals(Pair<int64_t, int64_t> a, Pair<int64_t, int64_t> b) {
45 return (a.getFirst() == b.getFirst() ) && (a.getSecond() == b.getSecond());