2005/5/9

     
 

class WeakHashMap

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

acdk::util::WeakHashMap Class Reference

#include <WeakHashMap.h>

Inheritance diagram for acdk::util::WeakHashMap:

acdk::util::AbstractMap acdk::lang::Object acdk::util::Map acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Corresponds to the Java API class.

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.9
Date:
Date
2005/02/05 10:45:07


Public Member Functions

 WeakHashMap (int initialCapacity=HashMap::DEFAULT_CAPACITY, float initialLoadFactor=HashMap::DEFAULT_LOAD_FACTOR)
virtual ~WeakHashMap ()
virtual int size ()
virtual bool isEmpty ()
virtual void clear ()
virtual RSet entrySet ()
virtual acdk::lang::Object get (IN(acdk::lang::Object) key)
virtual acdk::lang::Object put (IN(acdk::lang::Object) key, IN(acdk::lang::Object) value)
virtual acdk::lang::Object remove (IN(acdk::lang::Object) key)
int capacity ()
float loadFactor ()

Static Public Member Functions

acdk::lang::Object create_instance ()

Private Member Functions

void _clearQueue ()

Private Attributes

RHashMap _hashMap
 Contains the WeakHashMapKey and Values.

::acdk::lang::ref::RReferenceQueue _refQueue
 Used to synchronized cleaning.


Constructor & Destructor Documentation

acdk::util::WeakHashMap::WeakHashMap int  initialCapacity = HashMap::DEFAULT_CAPACITY,
float  initialLoadFactor = HashMap::DEFAULT_LOAD_FACTOR
[inline]
 

virtual acdk::util::WeakHashMap::~WeakHashMap  )  [inline, virtual]
 


Member Function Documentation

void acdk::util::WeakHashMap::_clearQueue  )  [inline, private]
 

int acdk::util::WeakHashMap::capacity  )  [inline]
 

virtual void acdk::util::WeakHashMap::clear  )  [inline, virtual]
 

Reimplemented from acdk::util::AbstractMap.

acdk::lang::Object acdk::util::WeakHashMap::create_instance  )  [inline, static]
 

Reimplemented from acdk::lang::Object.

virtual RSet acdk::util::WeakHashMap::entrySet  )  [virtual]
 

Implements acdk::util::AbstractMap.

virtual acdk::lang::Object acdk::util::WeakHashMap::get IN(acdk::lang::Object key  )  [inline, virtual]
 

Reimplemented from acdk::util::AbstractMap.

virtual bool acdk::util::WeakHashMap::isEmpty  )  [inline, virtual]
 

Reimplemented from acdk::util::AbstractMap.

float acdk::util::WeakHashMap::loadFactor  )  [inline]
 

virtual acdk::lang::Object acdk::util::WeakHashMap::put IN(acdk::lang::Object key,
IN(acdk::lang::Object value
[inline, virtual]
 

Reimplemented from acdk::util::AbstractMap.

virtual acdk::lang::Object acdk::util::WeakHashMap::remove IN(acdk::lang::Object key  )  [virtual]
 

Reimplemented from acdk::util::AbstractMap.

virtual int acdk::util::WeakHashMap::size  )  [inline, virtual]
 

Reimplemented from acdk::util::AbstractMap.


Member Data Documentation

RHashMap acdk::util::WeakHashMap::_hashMap [private]
 

Contains the WeakHashMapKey and Values.

::acdk::lang::ref::RReferenceQueue acdk::util::WeakHashMap::_refQueue [private]
 

Used to synchronized cleaning.