2005/5/9

     
 

class TAbstractMap

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::util::TAbstractMap< K, V > Class Template Reference

#include <TAbstractMap.h>

Inheritance diagram for acdk::util::TAbstractMap< K, V >:

acdk::lang::Object acdk::util::TMap< K, V > acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::util::THashMap< K, V > acdk::util::TSubTreeMap< K, V > acdk::util::TTreeMap< K, V > List of all members.

template<class K, class V>
class acdk::util::TAbstractMap< K, V >


Public Types

typedef K RKeyType
typedef V RValueType
typedef TAbstractMap< K, V > ThisType
typedef RefHolder< ThisType > RThisType
typedef TAbstractMap< RKeyType,
RValueType > 
AbstractSetType
typedef RefHolder< AbstractSetType > RAbstractSetType
typedef RAbstractSetType RefType
typedef TMap< RKeyType, RValueType > MapType
typedef MapType::RefType RMapType
typedef TIterator< RKeyType > KeyIteratorType
typedef KeyIteratorType::RefType RKeyIteratorType
typedef TIterator< RValueType > ValueIteratorType
typedef ValueIteratorType::RefType RValueIteratorType
typedef TCollection< RValueType > ValueCollectionType
typedef ValueCollectionType::RefType RValueCollectionType
typedef TMapEntry< RKeyType,
RValueType > 
MapEntryType
typedef MapEntryType::RefType RMapEntryType
typedef MapType::MapEntrySetType MapEntrySetType
typedef MapEntrySetType::RefType RMapEntrySetType
typedef MapType::KeySetType KeySetType
typedef KeySetType::RefType RKeySetType
typedef TIterator< RMapEntryType > MapEntryIteratorType
typedef MapEntryIteratorType::RefType RMapEntryIteratorType

Public Member Functions

 TAbstractMap ()
virtual void clear ()
virtual bool containsKey (IN(RKeyType) key)
virtual bool containsValue (IN(RValueType) value)
virtual RMapEntrySetType entrySet ()=0
virtual bool equals (IN(acdk::lang::Object) o)
 Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

virtual RValueType get (IN(RKeyType) key)
virtual int hashCode ()
virtual bool isEmpty ()
virtual RKeySetType keySet ()
virtual RValueType put (IN(RKeyType) key, IN(RValueType) value)
virtual void putAll (IN(RMapType) m)
virtual RValueType remove (IN(RKeyType) key)
virtual int size ()
virtual RString toString ()
 return a string representation of this object Object::toString() return getName() by default

virtual RValueCollectionType values ()

Member Typedef Documentation

template<class K, class V>
typedef TAbstractMap<RKeyType, RValueType> acdk::util::TAbstractMap< K, V >::AbstractSetType
 

template<class K, class V>
typedef TIterator<RKeyType> acdk::util::TAbstractMap< K, V >::KeyIteratorType
 

Reimplemented from acdk::util::TMap< K, V >.

template<class K, class V>
typedef MapType::KeySetType acdk::util::TAbstractMap< K, V >::KeySetType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef TIterator<RMapEntryType> acdk::util::TAbstractMap< K, V >::MapEntryIteratorType
 

template<class K, class V>
typedef MapType::MapEntrySetType acdk::util::TAbstractMap< K, V >::MapEntrySetType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef TMapEntry<RKeyType, RValueType> acdk::util::TAbstractMap< K, V >::MapEntryType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef TMap<RKeyType, RValueType> acdk::util::TAbstractMap< K, V >::MapType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef RefHolder<AbstractSetType> acdk::util::TAbstractMap< K, V >::RAbstractSetType
 

template<class K, class V>
typedef RAbstractSetType acdk::util::TAbstractMap< K, V >::RefType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef KeyIteratorType::RefType acdk::util::TAbstractMap< K, V >::RKeyIteratorType
 

Reimplemented from acdk::util::TMap< K, V >.

template<class K, class V>
typedef KeySetType::RefType acdk::util::TAbstractMap< K, V >::RKeySetType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef K acdk::util::TAbstractMap< K, V >::RKeyType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef MapEntryIteratorType::RefType acdk::util::TAbstractMap< K, V >::RMapEntryIteratorType
 

template<class K, class V>
typedef MapEntrySetType::RefType acdk::util::TAbstractMap< K, V >::RMapEntrySetType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef MapEntryType::RefType acdk::util::TAbstractMap< K, V >::RMapEntryType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef MapType::RefType acdk::util::TAbstractMap< K, V >::RMapType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef RefHolder<ThisType> acdk::util::TAbstractMap< K, V >::RThisType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef ValueCollectionType::RefType acdk::util::TAbstractMap< K, V >::RValueCollectionType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef ValueIteratorType::RefType acdk::util::TAbstractMap< K, V >::RValueIteratorType
 

Reimplemented from acdk::util::TMap< K, V >.

template<class K, class V>
typedef V acdk::util::TAbstractMap< K, V >::RValueType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef TAbstractMap<K, V> acdk::util::TAbstractMap< K, V >::ThisType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef TCollection<RValueType> acdk::util::TAbstractMap< K, V >::ValueCollectionType
 

Reimplemented from acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef TIterator<RValueType> acdk::util::TAbstractMap< K, V >::ValueIteratorType
 

Reimplemented from acdk::util::TMap< K, V >.


Constructor & Destructor Documentation

template<class K, class V>
acdk::util::TAbstractMap< K, V >::TAbstractMap (   )  [inline]
 


Member Function Documentation

template<class K, class V>
virtual void acdk::util::TAbstractMap< K, V >::clear (   )  [inline, virtual]
 

Implements acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
virtual bool acdk::util::TAbstractMap< K, V >::containsKey (  IN(RKeyType)  key  )  [inline, virtual]
 

Implements acdk::util::TMap< K, V >.

Reimplemented in acdk::util::TTreeMap< K, V >, and acdk::util::TSubTreeMap< K, V >.

template<class K, class V>
virtual bool acdk::util::TAbstractMap< K, V >::containsValue (  IN(RValueType)  value  )  [inline, virtual]
 

Implements acdk::util::TMap< K, V >.

Reimplemented in acdk::util::TTreeMap< K, V >, and acdk::util::TSubTreeMap< K, V >.

template<class K, class V>
virtual RMapEntrySetType acdk::util::TAbstractMap< K, V >::entrySet (   )  [pure virtual]
 

Implements acdk::util::TMap< K, V >.

Implemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
virtual bool acdk::util::TAbstractMap< K, V >::equals (  IN(acdk::lang::Object)  o  )  [inline, virtual]
 

Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

See also:
serialized_equals()

Reimplemented from acdk::lang::Object.

Reimplemented in acdk::util::TTreeMap< K, V >, and acdk::util::TSubTreeMap< K, V >.

template<class K, class V>
virtual RValueType acdk::util::TAbstractMap< K, V >::get (  IN(RKeyType)  key  )  [inline, virtual]
 

Implements acdk::util::TMap< K, V >.

Reimplemented in acdk::util::TTreeMap< K, V >, and acdk::util::TSubTreeMap< K, V >.

template<class K, class V>
virtual int acdk::util::TAbstractMap< K, V >::hashCode (   )  [inline, virtual]
 

See also:
serialized_hashCode

Reimplemented from acdk::lang::Object.

Reimplemented in acdk::util::TTreeMap< K, V >, and acdk::util::TSubTreeMap< K, V >.

template<class K, class V>
virtual bool acdk::util::TAbstractMap< K, V >::isEmpty (   )  [inline, virtual]
 

Implements acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
virtual RKeySetType acdk::util::TAbstractMap< K, V >::keySet (   )  [inline, virtual]
 

Implements acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
virtual RValueType acdk::util::TAbstractMap< K, V >::put (  IN(RKeyType)  key,
IN(RValueType)  value
)  [inline, virtual]
 

Implements acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
virtual void acdk::util::TAbstractMap< K, V >::putAll (  IN(RMapType)  m  )  [inline, virtual]
 

Implements acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
virtual RValueType acdk::util::TAbstractMap< K, V >::remove (  IN(RKeyType)  key  )  [inline, virtual]
 

Implements acdk::util::TMap< K, V >.

Reimplemented in acdk::util::TTreeMap< K, V >, and acdk::util::TSubTreeMap< K, V >.

template<class K, class V>
virtual int acdk::util::TAbstractMap< K, V >::size (   )  [inline, virtual]
 

Implements acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
virtual RString acdk::util::TAbstractMap< K, V >::toString (   )  [inline, virtual]
 

return a string representation of this object Object::toString() return getName() by default

Reimplemented from acdk::lang::Object.

template<typename K, typename V>
TAbstractMap< K, V >::RValueCollectionType acdk::util::TAbstractMap< K, V >::values (   )  [virtual]
 

Implements acdk::util::TMap< K, V >.

Reimplemented in acdk::util::THashMap< K, V >, acdk::util::TTreeMap< K, V >, acdk::util::TSubTreeMap< K, V >, and acdk::util::THashMap< RRemoteObjectId, RRemoteObjectReferences >.