Home | History | Annotate | Download | only in common

Lines Matching defs:Hashtable

22  * Hashtable is a thin C++ wrapper around UHashtable, a general-purpose void*
23 * hashtable implemented in C. Hashtable is designed to be idiomatic and
26 * Hashtable is an INTERNAL CLASS.
28 class U_COMMON_API Hashtable : public UMemory {
36 * Construct a hashtable
40 Hashtable(UBool ignoreKeyCase, UErrorCode& status);
43 * Construct a hashtable
48 Hashtable(UKeyComparator *keyComp, UValueComparator *valueComp, UErrorCode& status);
51 * Construct a hashtable
54 Hashtable(UErrorCode& status);
57 * Construct a hashtable, _disregarding any error_. Use this constructor
60 Hashtable();
63 * Non-virtual destructor; make this virtual if Hashtable is subclassed
66 ~Hashtable();
94 UBool equals(const Hashtable& that) const;
96 Hashtable(const Hashtable &other); // forbid copying of this class
97 Hashtable &operator=(const Hashtable &other); // forbid copying of this class
104 inline void Hashtable::init(UHashFunction *keyHash, UKeyComparator *keyComp,
116 inline Hashtable::Hashtable(UKeyComparator *keyComp, UValueComparator *valueComp,
120 inline Hashtable::Hashtable(UBool ignoreKeyCase, UErrorCode& status)
131 inline Hashtable::Hashtable(UErrorCode& status)
137 inline Hashtable::Hashtable()
144 inline Hashtable::~Hashtable() {
150 inline UObjectDeleter *Hashtable::setValueDeleter(UObjectDeleter *fn) {
154 inline int32_t Hashtable::count() const {
158 inline void* Hashtable::put(const UnicodeString& key, void* value, UErrorCode& status) {
162 inline int32_t Hashtable::puti(const UnicodeString& key, int32_t value, UErrorCode& status) {
166 inline void* Hashtable::get(const UnicodeString& key) const {
170 inline int32_t Hashtable::geti(const UnicodeString& key) const {
174 inline void* Hashtable::remove(const UnicodeString& key) {
178 inline int32_t Hashtable::removei(const UnicodeString& key) {
182 inline const UHashElement* Hashtable::find(const UnicodeString& key) const {
186 inline const UHashElement* Hashtable::nextElement(int32_t& pos) const {
190 inline void Hashtable::removeAll(void) {
194 inline UKeyComparator* Hashtable::setKeyComparator(UKeyComparator*keyComp){
198 inline UValueComparator* Hashtable::setValueComparator(UValueComparator* valueComp){
202 inline UBool Hashtable::equals(const Hashtable& that)const{