er.extensions.foundation
Class ERXMutableDictionary.ThreadSafeDictionary
java.lang.Object
com.webobjects.foundation.NSDictionary<K,V>
com.webobjects.foundation.NSMutableDictionary
er.extensions.foundation.ERXMutableDictionary
er.extensions.foundation.ERXMutableDictionary.ThreadSafeDictionary
- All Implemented Interfaces:
- _NSFoundationCollection, NSCoding, NSKeyValueCoding, NSKeyValueCodingAdditions, Serializable, Cloneable, Map
- Enclosing class:
- ERXMutableDictionary
public static class ERXMutableDictionary.ThreadSafeDictionary
- extends ERXMutableDictionary
Simple thread safe wrapper. May or may not be correct, but it doesn't
matter as you will never, *ever* call this directly, but call
ERXMutableDictionary.synchronizedDictionary();
instead and we will fix all the bugs in due time.
- Author:
- ak
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSCoding |
NSCoding._BigDecimalSupport, NSCoding._BigIntegerSupport, NSCoding._BooleanSupport, NSCoding._ByteSupport, NSCoding._CharacterSupport, NSCoding._DateSupport, NSCoding._DoubleSupport, NSCoding._FloatSupport, NSCoding._IntegerSupport, NSCoding._LongSupport, NSCoding._NumberSupport, NSCoding._ShortSupport, NSCoding._StringSupport, NSCoding.Support |
| Fields inherited from class com.webobjects.foundation.NSDictionary |
_capacity, _count, _deletionLimit, _entrySetCache, _flags, _hashCache, _hashtableBuckets, _keys, _keysCache, _keySetCache, _MAP_ENTRY_CLASS, _NSDictionaryClassHashCode, _NSDictionaryMapEntryHashCode, _objects, _objectsCache, EmptyDictionary |
| Methods inherited from class er.extensions.foundation.ERXMutableDictionary |
allValues, booleanObjectForKey, clear, clone, containsKey, containsValue, entrySet, fromBlob, fromPropertyList, get, isEmpty, keySet, put, putAll, remove, size, stringObjectForKey, synchronizedDictionary, synchronizedDictionary, synchronizedDictionary, toBlob, toBlob, toBlob, toPropertyList, toPropertyList, values |
ERXMutableDictionary.ThreadSafeDictionary
public ERXMutableDictionary.ThreadSafeDictionary(NSMutableDictionary dictionary)
addEntriesFromDictionary
public void addEntriesFromDictionary(NSDictionary otherDictionary)
- Overrides:
addEntriesFromDictionary in class NSMutableDictionary
immutableClone
public NSDictionary immutableClone()
- Overrides:
immutableClone in class NSMutableDictionary
mutableClone
public NSMutableDictionary mutableClone()
- Overrides:
mutableClone in class NSMutableDictionary
removeAllObjects
public void removeAllObjects()
- Overrides:
removeAllObjects in class NSMutableDictionary
removeObjectForKey
public Object removeObjectForKey(Object key)
- Overrides:
removeObjectForKey in class NSMutableDictionary
removeObjectsForKeys
public void removeObjectsForKeys(NSArray keys)
- Overrides:
removeObjectsForKeys in class NSMutableDictionary
setDictionary
public void setDictionary(NSDictionary otherDictionary)
- Overrides:
setDictionary in class NSMutableDictionary
setObjectForKey
public void setObjectForKey(Object object,
Object key)
- Overrides:
setObjectForKey in class NSMutableDictionary
takeValueForKey
public void takeValueForKey(Object value,
String key)
- Specified by:
takeValueForKey in interface NSKeyValueCoding- Overrides:
takeValueForKey in class NSMutableDictionary
_clearDeletionsAndCollisions
protected void _clearDeletionsAndCollisions()
- Overrides:
_clearDeletionsAndCollisions in class NSDictionary
_ensureCapacity
protected void _ensureCapacity(int capacity)
- Overrides:
_ensureCapacity in class NSDictionary
_initializeDictionary
protected void _initializeDictionary()
- Overrides:
_initializeDictionary in class NSDictionary
_shallowHashCode
public int _shallowHashCode()
- Specified by:
_shallowHashCode in interface _NSFoundationCollection- Overrides:
_shallowHashCode in class NSDictionary
allKeys
public NSArray allKeys()
- Overrides:
allKeys in class NSDictionary
allKeysForObject
public NSArray allKeysForObject(Object object)
- Overrides:
allKeysForObject in class NSDictionary
classForCoder
public Class classForCoder()
- Specified by:
classForCoder in interface NSCoding- Overrides:
classForCoder in class NSDictionary
count
public int count()
- Overrides:
count in class NSDictionary
encodeWithCoder
public void encodeWithCoder(NSCoder coder)
- Specified by:
encodeWithCoder in interface NSCoding- Overrides:
encodeWithCoder in class NSDictionary
equals
public boolean equals(Object object)
- Specified by:
equals in interface Map- Overrides:
equals in class NSDictionary
hashCode
public int hashCode()
- Specified by:
hashCode in interface Map- Overrides:
hashCode in class NSDictionary
hashMap
public HashMap hashMap()
- Overrides:
hashMap in class NSDictionary
hashtable
public Hashtable hashtable()
- Overrides:
hashtable in class NSDictionary
isEqualToDictionary
public boolean isEqualToDictionary(NSDictionary otherDictionary)
- Overrides:
isEqualToDictionary in class NSDictionary
keyEnumerator
public Enumeration keyEnumerator()
- Overrides:
keyEnumerator in class NSDictionary
keysNoCopy
protected Object[] keysNoCopy()
- Overrides:
keysNoCopy in class NSDictionary
objectEnumerator
public Enumeration objectEnumerator()
- Overrides:
objectEnumerator in class NSDictionary
objectForKey
public Object objectForKey(Object key)
- Overrides:
objectForKey in class NSDictionary
objectsForKeys
public NSArray objectsForKeys(NSArray keys,
Object notFoundMarker)
- Overrides:
objectsForKeys in class NSDictionary
objectsNoCopy
protected Object[] objectsNoCopy()
- Overrides:
objectsNoCopy in class NSDictionary
takeValueForKeyPath
public void takeValueForKeyPath(Object value,
String keyPath)
- Specified by:
takeValueForKeyPath in interface NSKeyValueCodingAdditions- Overrides:
takeValueForKeyPath in class NSDictionary
toString
public String toString()
- Overrides:
toString in class NSDictionary
valueForKey
public Object valueForKey(String key)
- Specified by:
valueForKey in interface NSKeyValueCoding- Overrides:
valueForKey in class NSDictionary
valueForKeyPath
public Object valueForKeyPath(String keyPath)
- Specified by:
valueForKeyPath in interface NSKeyValueCodingAdditions- Overrides:
valueForKeyPath in class NSDictionary
Copyright © 2002 – 2007 Project Wonder.