ERXMutableDictionary< K, V > Class Reference

Inherits com::webobjects::foundation::NSMutableDictionary<K,V>.

Inherited by ERXMutableDictionary< K, V >.ThreadSafeDictionary< K, V >.

Collaboration diagram for ERXMutableDictionary< K, V >:

Collaboration graph
[legend]

List of all members.

Classes

class  ThreadSafeDictionary< K, V >

Public Member Functions

Boolean booleanObjectForKey (K key)
Object clone ()
 ERXMutableDictionary ()
 ERXMutableDictionary (NSDictionary<?extends K,?extends V > d)
String stringObjectForKey (K key)
NSData toBlob ()
String toPropertyList ()

Static Public Member Functions

static NSDictionary fromBlob (NSData d)
static NSDictionary fromPropertyList (String plist)
static< T, U > NSDictionary< T, U > synchronizedDictionary (NSDictionary<?extends T,?extends U > dict)
static< T, U >
NSMutableDictionary< T, U > 
synchronizedDictionary ()
static< T, U >
NSMutableDictionary< T, U > 
synchronizedDictionary (NSMutableDictionary<?extends T,?extends U > dict)
static NSData toBlob (ERXMutableDictionary<?,?> dict)
static NSData toBlob (NSDictionary<?,?> d)
static String toPropertyList (NSDictionary<?,?> dict)

Static Public Attributes

static final long serialVersionUID = 8091318522043166356L


Detailed Description

Adds java.util.Map functionality to NSMutableDictionary and has helpers to en- and decode from database field. ERPrototype name = mutableDictionary
Parameters:
<V> 

Constructor & Destructor Documentation

ERXMutableDictionary ( NSDictionary<?extends K,?extends V >  d  ) 

ERXMutableDictionary (  ) 


Member Function Documentation

Boolean booleanObjectForKey ( key  ) 

Parameters:
key 

Object clone (  ) 

static NSDictionary fromBlob ( NSData  d  )  [static]

static NSDictionary fromPropertyList ( String  plist  )  [static]

String stringObjectForKey ( key  ) 

return the string value of an object for key

Parameters:
key the key which is linked to the object
Returns:
if objectForKey return a non null value this method returns the toString value from the object

static <T,U> NSDictionary<T,U> synchronizedDictionary ( NSDictionary<?extends T,?extends U >  dict  )  [static]

Returns either a new thread-safe dictionary, or just returns dict if the dictionary is not mutable.

Parameters:
dict the dictionary to make thread-safe
Returns:
a thread-safe dictionary

static <T,U> NSMutableDictionary<T,U> synchronizedDictionary (  )  [static]

Returns a new thread-safe mutable dictionary.

Parameters:
<U> 
Returns:
a new thread-safe mutable dictionary

static <T,U> NSMutableDictionary<T,U> synchronizedDictionary ( NSMutableDictionary<?extends T,?extends U >  dict  )  [static]

Returns a thread-safe mutable wrapper for the given mutable dictionary.

Parameters:
dict the dictionary to make thread-safe
Returns:
a thread-safe wrapper around the given dictionary

NSData toBlob (  ) 

static NSData toBlob ( ERXMutableDictionary<?,?>  dict  )  [static]

static NSData toBlob ( NSDictionary<?,?>  d  )  [static]

String toPropertyList (  ) 

static String toPropertyList ( NSDictionary<?,?>  dict  )  [static]


Member Data Documentation

final long serialVersionUID = 8091318522043166356L [static]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:13 2012 for Project Wonder by  doxygen 1.5.8