2005/5/9

     
 

class TMap

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

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

#include <TMap.h>

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

acdk::util::TAbstractMap< K, V > acdk::util::TSortedMap< K, V > acdk::util::THashMap< K, V > acdk::util::TSubTreeMap< K, V > acdk::util::TTreeMap< K, V > acdk::util::TSubTreeMap< K, V > acdk::util::TTreeMap< K, V > List of all members.

Detailed Description

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

A TMap is a container where elements are accessed via key objects.

See also:
acdk::util::Map

Java: http://java.sun.com/j2se/1.3/docs/api/java/util/Map.html

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.9
Date:
Date
2005/04/09 19:26:57


Public Types

typedef K RKeyType
typedef V RValueType
typedef TMap< RKeyType, RValueTypeThisType
typedef InterfaceHolder< ThisTypeRThisType
typedef RThisType RefType
typedef ThisType MapType
typedef RThisType RMapType
typedef TIterator< RKeyTypeKeyIteratorType
typedef KeyIteratorType::RefType RKeyIteratorType
typedef TIterator< RValueTypeValueIteratorType
typedef ValueIteratorType::RefType RValueIteratorType
typedef TMapEntry< RKeyType,
RValueType
MapEntryType
typedef MapEntryType::RefType RMapEntryType
typedef TSet< RKeyTypeKeySetType
typedef KeySetType::RefType RKeySetType
typedef TSet< RValueTypeValueSetType
typedef ValueSetType::RefType RValueSetType
typedef TSet< RMapEntryTypeSetType
typedef SetType::RefType RSetType
typedef TSet< RMapEntryTypeMapEntrySetType
typedef MapEntrySetType::RefType RMapEntrySetType
typedef TCollection< RMapEntryTypeCollectionType
typedef CollectionType::RefType RCollectionType
typedef TCollection< RValueTypeValueCollectionType
typedef ValueCollectionType::RefType RValueCollectionType

Public Member Functions

virtual void clear ()=0
virtual bool containsKey (IN(RKeyType) key)=0
virtual bool containsValue (IN(RValueType) value)=0
virtual RMapEntrySetType entrySet ()=0
virtual bool equals (IN(acdk::lang::Object) o)=0
virtual RValueType get (IN(RKeyType) key)=0
virtual int hashCode ()=0
virtual bool isEmpty ()=0
virtual RKeySetType keySet ()=0
virtual RValueType put (IN(RKeyType) key, IN(RValueType) value)=0
virtual void putAll (IN(RMapType) m)=0
virtual RValueType remove (IN(RKeyType) k)=0
virtual int size ()=0
virtual RValueCollectionType values ()=0


Member Typedef Documentation

template<class K, class V>
typedef TCollection<RMapEntryType> acdk::util::TMap< K, V >::CollectionType
 

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

Reimplemented in acdk::util::TAbstractMap< K, V >, and acdk::util::TAbstractMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef TSet<RKeyType> acdk::util::TMap< K, V >::KeySetType
 

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

template<class K, class V>
typedef TSet<RMapEntryType> acdk::util::TMap< K, V >::MapEntrySetType
 

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

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

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

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

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

template<class K, class V>
typedef CollectionType::RefType acdk::util::TMap< K, V >::RCollectionType
 

template<class K, class V>
typedef RThisType acdk::util::TMap< K, V >::RefType
 

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

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

Reimplemented in acdk::util::TAbstractMap< K, V >, and acdk::util::TAbstractMap< RRemoteObjectId, RRemoteObjectReferences >.

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

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

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

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

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

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

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

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

template<class K, class V>
typedef RThisType acdk::util::TMap< K, V >::RMapType
 

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

template<class K, class V>
typedef SetType::RefType acdk::util::TMap< K, V >::RSetType
 

template<class K, class V>
typedef InterfaceHolder<ThisType> acdk::util::TMap< K, V >::RThisType
 

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

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

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

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

Reimplemented in acdk::util::TAbstractMap< K, V >, and acdk::util::TAbstractMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef ValueSetType::RefType acdk::util::TMap< K, V >::RValueSetType
 

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

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

template<class K, class V>
typedef TSet<RMapEntryType> acdk::util::TMap< K, V >::SetType
 

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

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

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

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

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

Reimplemented in acdk::util::TAbstractMap< K, V >, and acdk::util::TAbstractMap< RRemoteObjectId, RRemoteObjectReferences >.

template<class K, class V>
typedef TSet<RValueType> acdk::util::TMap< K, V >::ValueSetType
 


Member Function Documentation

template<class K, class V>
virtual void acdk::util::TMap< K, V >::clear  )  [pure virtual]
 

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

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

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

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

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

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

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

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

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

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

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

template<class K, class V>
virtual int acdk::util::TMap< K, V >::hashCode  )  [pure virtual]
 

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

template<class K, class V>
virtual bool acdk::util::TMap< K, V >::isEmpty  )  [pure virtual]
 

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

template<class K, class V>
virtual RKeySetType acdk::util::TMap< K, V >::keySet  )  [pure virtual]
 

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

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

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

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

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

template<class K, class V>
virtual RValueType acdk::util::TMap< K, V >::remove IN(RKeyType k  )  [pure virtual]
 

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

template<class K, class V>
virtual int acdk::util::TMap< K, V >::size  )  [pure virtual]
 

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

template<class K, class V>
virtual RValueCollectionType acdk::util::TMap< K, V >::values  )  [pure virtual]
 

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