Searched defs:LinkedHashSetTranslator (Results 1 – 1 of 1) sorted by relevance
274 struct LinkedHashSetTranslator { struct275 typedef LinkedHashSetNode<Value> Node;276 typedef LinkedHashSetNodeBase NodeBase;277 typedef typename HashTraits<Value>::PeekInType ValuePeekInType;278 static unsigned hash(const Node& node) { return HashFunctions::hash(node.m_value); } in hash()279 static unsigned hash(const ValuePeekInType& key) { return HashFunctions::hash(key); } in hash()280 … bool equal(const Node& a, const ValuePeekInType& b) { return HashFunctions::equal(a.m_value, b); } in equal()281 …tic bool equal(const Node& a, const Node& b) { return HashFunctions::equal(a.m_value, b.m_value); } in equal()282 static void translate(Node& location, ValuePeekInType key, NodeBase* anchor) in translate()292 static const bool safeToCompareToEmptyOrDeleted = false;