2005/5/9

     
 

class TBasicMapEntry

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

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

#include <TBasicMapEntry.h>

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

acdk::lang::Object acdk::util::TMapEntry< K, V > acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::util::TBucketNode< K, V > acdk::util::TRedBlackNode< K, V > acdk::util::TNilRedBlackNode< K, V > List of all members.

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


Public Types

typedef K RKeyType
typedef V RValueType
typedef TBasicMapEntry< RKeyType,
RValueType
ThisType
typedef RefHolder< ThisTypeRThisType
typedef RThisType RefType
typedef TMapEntry< RKeyType,
RValueType
MapEntryType
typedef MapEntryType::RefType RMapEntryType

Public Member Functions

 TBasicMapEntry (IN(RKeyType) newKey, IN(RValueType) newValue)
virtual bool equals (IN(RMapEntryType) other)
virtual bool equals (IN(acdk::lang::Object) other)
 Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

virtual RKeyType getKey ()
virtual RValueType getValue ()
virtual int hashCode ()
RString toString ()
 return a string representation of this object Object::toString() return getName() by default

virtual RValueType setValue (INP(RValueType) newVal)

Public Attributes

RKeyType _key
RValueType _value

Member Typedef Documentation

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

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

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

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

Reimplemented in acdk::util::TBucketNode< K, V >, and acdk::util::TRedBlackNode< K, V >.

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

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

Reimplemented in acdk::util::TBucketNode< K, V >, acdk::util::TRedBlackNode< K, V >, and acdk::util::TNilRedBlackNode< K, V >.

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

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

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

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

Reimplemented in acdk::util::TBucketNode< K, V >, and acdk::util::TRedBlackNode< K, V >.

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

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

Reimplemented in acdk::util::TBucketNode< K, V >, acdk::util::TRedBlackNode< K, V >, and acdk::util::TNilRedBlackNode< K, V >.

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

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

Reimplemented in acdk::util::TBucketNode< K, V >, acdk::util::TRedBlackNode< K, V >, and acdk::util::TNilRedBlackNode< K, V >.


Constructor & Destructor Documentation

template<class K, class V>
acdk::util::TBasicMapEntry< K, V >::TBasicMapEntry IN(RKeyType newKey,
IN(RValueType newValue
[inline]
 


Member Function Documentation

template<class K, class V>
virtual bool acdk::util::TBasicMapEntry< K, V >::equals IN(acdk::lang::Object other  )  [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.

template<class K, class V>
virtual bool acdk::util::TBasicMapEntry< K, V >::equals IN(RMapEntryType other  )  [inline, virtual]
 

template<class K, class V>
virtual RKeyType acdk::util::TBasicMapEntry< K, V >::getKey  )  [inline, virtual]
 

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

template<class K, class V>
virtual RValueType acdk::util::TBasicMapEntry< K, V >::getValue  )  [inline, virtual]
 

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

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

See also:
serialized_hashCode

Reimplemented from acdk::lang::Object.

template<class K, class V>
virtual RValueType acdk::util::TBasicMapEntry< K, V >::setValue INP(RValueType newVal  )  [inline, virtual]
 

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

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

Reimplemented from acdk::lang::Object.


Member Data Documentation

template<class K, class V>
RKeyType acdk::util::TBasicMapEntry< K, V >::_key
 

template<class K, class V>
RValueType acdk::util::TBasicMapEntry< K, V >::_value