#include <Hashtable.h>
Classes | |
class | Entry |
class | EntryIter |
class | EntrySet |
class | HashIter |
class | KeyIter |
class | KeySet |
class | ValueCollection |
class | ValueIter |
Public Member Functions | |
Hashtable (jint initialCapacity=15, jfloat loadFactor=0.75) | |
Hashtable (const Hashtable ©) | |
virtual | ~Hashtable () |
virtual void | clear () |
virtual Object * | clone () const throw (CloneNotSupportedException) |
virtual bool | contains (const Object *obj) const |
virtual bool | containsKey (const K *key) const |
virtual bool | containsValue (const V *value) const |
virtual Set< class Map< K, V > ::Entry > & | entrySet () |
virtual const Set< class Map < K, V >::Entry > & | entrySet () const |
virtual bool | equals (const Object *obj) const throw () |
virtual V * | get (const K *key) const |
virtual jint | hashCode () const throw () |
virtual bool | isEmpty () const throw () |
virtual Set< K > & | keySet () |
virtual const Set< K > & | keySet () const |
virtual V * | put (K *key, V *value) |
virtual void | putAll (const Map< K, V > &m) |
virtual V * | remove (const K *key) |
virtual jint | size () const throw () |
virtual Collection< V > & | values () |
virtual const Collection< V > & | values () const |
Protected Member Functions | |
Entry * | removeEntryForKey (const K *key) |
beecrypt::util::Hashtable< K, V >::Hashtable | ( | jint | initialCapacity = 15 , |
|
jfloat | loadFactor = 0.75 | |||
) | [inline] |
Referenced by beecrypt::util::Hashtable< Object, Object >::clone().
beecrypt::util::Hashtable< K, V >::Hashtable | ( | const Hashtable< K, V > & | copy | ) | [inline] |
virtual beecrypt::util::Hashtable< K, V >::~Hashtable | ( | ) | [inline, virtual] |
virtual void beecrypt::util::Hashtable< K, V >::clear | ( | ) | [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
Referenced by beecrypt::util::Hashtable< Object, Object >::~Hashtable().
virtual Object* beecrypt::util::Hashtable< K, V >::clone | ( | ) | const throw (CloneNotSupportedException) [inline, virtual] |
Implements beecrypt::lang::Cloneable.
virtual bool beecrypt::util::Hashtable< K, V >::contains | ( | const Object * | obj | ) | const [inline, virtual] |
virtual bool beecrypt::util::Hashtable< K, V >::containsKey | ( | const K * | key | ) | const [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
virtual bool beecrypt::util::Hashtable< K, V >::containsValue | ( | const V * | value | ) | const [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
Referenced by beecrypt::util::Hashtable< Object, Object >::contains().
virtual const Set<class Map<K,V>::Entry>& beecrypt::util::Hashtable< K, V >::entrySet | ( | ) | const [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
virtual Set<class Map<K,V>::Entry>& beecrypt::util::Hashtable< K, V >::entrySet | ( | ) | [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
virtual bool beecrypt::util::Hashtable< K, V >::equals | ( | const Object * | obj | ) | const throw () [inline, virtual] |
Reimplemented from beecrypt::lang::Object.
virtual V* beecrypt::util::Hashtable< K, V >::get | ( | const K * | key | ) | const [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
virtual jint beecrypt::util::Hashtable< K, V >::hashCode | ( | ) | const throw () [inline, virtual] |
Reimplemented from beecrypt::lang::Object.
virtual bool beecrypt::util::Hashtable< K, V >::isEmpty | ( | ) | const throw () [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
virtual const Set<K>& beecrypt::util::Hashtable< K, V >::keySet | ( | ) | const [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
virtual Set<K>& beecrypt::util::Hashtable< K, V >::keySet | ( | ) | [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
virtual V* beecrypt::util::Hashtable< K, V >::put | ( | K * | key, | |
V * | value | |||
) | [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
Referenced by beecrypt::util::Hashtable< Object, Object >::putAll().
virtual void beecrypt::util::Hashtable< K, V >::putAll | ( | const Map< K, V > & | m | ) | [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
Referenced by beecrypt::util::Hashtable< Object, Object >::Hashtable().
virtual V* beecrypt::util::Hashtable< K, V >::remove | ( | const K * | key | ) | [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
Entry* beecrypt::util::Hashtable< K, V >::removeEntryForKey | ( | const K * | key | ) | [inline, protected] |
Referenced by beecrypt::util::Hashtable< Object, Object >::remove().
virtual jint beecrypt::util::Hashtable< K, V >::size | ( | ) | const throw () [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
virtual const Collection<V>& beecrypt::util::Hashtable< K, V >::values | ( | ) | const [inline, virtual] |
Implements beecrypt::util::Map< K, V >.
virtual Collection<V>& beecrypt::util::Hashtable< K, V >::values | ( | ) | [inline, virtual] |
Implements beecrypt::util::Map< K, V >.