Lines Matching defs:Hashtable

21  * Hashtable is a thin C++ wrapper around UHashtable, a general-purpose void*
22 * hashtable implemented in C. Hashtable is designed to be idiomatic and
25 * Hashtable is an INTERNAL CLASS.
27 class U_COMMON_API Hashtable : public UMemory {
39 Hashtable(UBool ignoreKeyCase, UErrorCode& status);
47 Hashtable(UKeyComparator *keyComp, UValueComparator *valueComp, UErrorCode& status);
53 Hashtable(UErrorCode& status);
59 Hashtable();
62 * Non-virtual destructor; make this virtual if Hashtable is subclassed
65 ~Hashtable();
93 UBool equals(const Hashtable& that) const;
95 Hashtable(const Hashtable &other); // forbid copying of this class
96 Hashtable &operator=(const Hashtable &other); // forbid copying of this class
103 inline void Hashtable::init(UHashFunction *keyHash, UKeyComparator *keyComp,
115 inline Hashtable::Hashtable(UKeyComparator *keyComp, UValueComparator *valueComp,
119 inline Hashtable::Hashtable(UBool ignoreKeyCase, UErrorCode& status)
130 inline Hashtable::Hashtable(UErrorCode& status)
136 inline Hashtable::Hashtable()
143 inline Hashtable::~Hashtable() {
149 inline UObjectDeleter *Hashtable::setValueDeleter(UObjectDeleter *fn) {
153 inline int32_t Hashtable::count() const {
157 inline void* Hashtable::put(const UnicodeString& key, void* value, UErrorCode& status) {
161 inline int32_t Hashtable::puti(const UnicodeString& key, int32_t value, UErrorCode& status) {
165 inline void* Hashtable::get(const UnicodeString& key) const {
169 inline int32_t Hashtable::geti(const UnicodeString& key) const {
173 inline void* Hashtable::remove(const UnicodeString& key) {
177 inline int32_t Hashtable::removei(const UnicodeString& key) {
181 inline const UHashElement* Hashtable::find(const UnicodeString& key) const {
185 inline const UHashElement* Hashtable::nextElement(int32_t& pos) const {
189 inline void Hashtable::removeAll(void) {
193 inline UKeyComparator* Hashtable::setKeyComparator(UKeyComparator*keyComp){
197 inline UValueComparator* Hashtable::setValueComparator(UValueComparator* valueComp){
201 inline UBool Hashtable::equals(const Hashtable& that)const{