2005/5/9

     
 

class SynchronizedMap

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

acdk::util::SynchronizedMap Class Reference

#include <SynchronizedCollections.h>

Inheritance diagram for acdk::util::SynchronizedMap:

acdk::lang::Object acdk::util::Map acdk::io::Serializable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::util::SynchronizedSortedMap List of all members.

Detailed Description

API: Java<br/>.

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


Public Member Functions

 SynchronizedMap (IN(RMap) map, IN(acdk::lang::Object) sync=Nil)
virtual void lock ()
 lock the object instance.

virtual void unlock ()
 unlock the object instance Note: Will be overwritten by acdk::io::Reader and acdk::io::Writer Note: if Unsynchronized or isStack is set, this call will have no effect

virtual void clear ()
virtual bool containsKey (IN(acdk::lang::Object) key)
virtual bool containsValue (IN(acdk::lang::Object) value)
virtual RSet entrySet ()
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 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 int hashCode ()
virtual bool isEmpty ()
virtual RSet keySet ()
virtual void putAll (IN(RMap) map)
virtual acdk::lang::Object remove (IN(acdk::lang::Object) o)
virtual int size ()
virtual RCollection values ()

Static Public Member Functions

acdk::lang::Object create_instance ()

Protected Attributes

acdk::lang::Object _lock
RMap _map


Constructor & Destructor Documentation

acdk::util::SynchronizedMap::SynchronizedMap IN(RMap map,
IN(acdk::lang::Object sync = Nil
[inline]
 


Member Function Documentation

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

Implements acdk::util::Map.

Reimplemented in acdk::util::SynchronizedSortedMap.

virtual bool acdk::util::SynchronizedMap::containsKey IN(acdk::lang::Object key  )  [inline, virtual]
 

Implements acdk::util::Map.

Reimplemented in acdk::util::SynchronizedSortedMap.

virtual bool acdk::util::SynchronizedMap::containsValue IN(acdk::lang::Object value  )  [inline, virtual]
 

Implements acdk::util::Map.

Reimplemented in acdk::util::SynchronizedSortedMap.

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

Reimplemented from acdk::lang::Object.

RSet acdk::util::SynchronizedMap::entrySet  )  [inline, virtual]
 

Implements acdk::util::Map.

Reimplemented in acdk::util::SynchronizedSortedMap.

virtual bool acdk::util::SynchronizedMap::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::SynchronizedSortedMap.

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

Implements acdk::util::Map.

Reimplemented in acdk::util::SynchronizedSortedMap.

virtual int acdk::util::SynchronizedMap::hashCode  )  [inline, virtual]
 

See also:
serialized_hashCode

Reimplemented from acdk::lang::Object.

Reimplemented in acdk::util::SynchronizedSortedMap.

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

Implements acdk::util::Map.

Reimplemented in acdk::util::SynchronizedSortedMap.

virtual RSet acdk::util::SynchronizedMap::keySet  )  [inline, virtual]
 

Implements acdk::util::Map.

Reimplemented in acdk::util::SynchronizedSortedMap.

virtual void acdk::util::SynchronizedMap::lock  )  [inline, virtual]
 

lock the object instance.

Note: Will be overwritten by acdk::io::Reader and acdk::io::Writer Note: if Unsynchronized or isStack is set, this call will have no effect

Reimplemented from acdk::lang::ObjectBase.

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

Implements acdk::util::Map.

Reimplemented in acdk::util::SynchronizedSortedMap.

virtual void acdk::util::SynchronizedMap::putAll IN(RMap map  )  [inline, virtual]
 

Implements acdk::util::Map.

Reimplemented in acdk::util::SynchronizedSortedMap.

virtual acdk::lang::Object acdk::util::SynchronizedMap::remove IN(acdk::lang::Object o  )  [inline, virtual]
 

Implements acdk::util::Map.

Reimplemented in acdk::util::SynchronizedSortedMap.

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

Implements acdk::util::Map.

Reimplemented in acdk::util::SynchronizedSortedMap.

virtual void acdk::util::SynchronizedMap::unlock  )  [inline, virtual]
 

unlock the object instance Note: Will be overwritten by acdk::io::Reader and acdk::io::Writer Note: if Unsynchronized or isStack is set, this call will have no effect

Reimplemented from acdk::lang::ObjectBase.

virtual RCollection acdk::util::SynchronizedMap::values  )  [inline, virtual]
 

Implements acdk::util::Map.

Reimplemented in acdk::util::SynchronizedSortedMap.


Member Data Documentation

acdk::lang::Object acdk::util::SynchronizedMap::_lock [protected]
 

RMap acdk::util::SynchronizedMap::_map [protected]