V
- public class ERXMutableDictionary<K,V> extends NSMutableDictionary<K,V>
Map
functionality to NSMutableDictionary and has
helpers to en- and decode from database field.
ERPrototype name = mutableDictionary
Modifier and Type | Class and Description |
---|---|
static class |
ERXMutableDictionary.ThreadSafeDictionary<K,V>
Simple thread safe wrapper.
|
NSDictionary._JavaNSDictionaryMapEntry<P,Q>
com.webobjects.foundation.NSCoding._BigDecimalSupport, com.webobjects.foundation.NSCoding._BigIntegerSupport, com.webobjects.foundation.NSCoding._BooleanSupport, com.webobjects.foundation.NSCoding._ByteSupport, com.webobjects.foundation.NSCoding._CharacterSupport, com.webobjects.foundation.NSCoding._DateSupport, com.webobjects.foundation.NSCoding._DoubleSupport, com.webobjects.foundation.NSCoding._FloatSupport, com.webobjects.foundation.NSCoding._IntegerSupport, com.webobjects.foundation.NSCoding._LongSupport, com.webobjects.foundation.NSCoding._NumberSupport, com.webobjects.foundation.NSCoding._ShortSupport, com.webobjects.foundation.NSCoding._StringSupport, com.webobjects.foundation.NSCoding.Support
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
_CLASS
_capacity, _count, _deletionLimit, _entrySetCache, _flags, _hashCache, _hashtableBuckets, _keys, _keysCache, _keySetCache, _MAP_ENTRY_CLASS, _NSDictionaryClassHashCode, _NSDictionaryMapEntryHashCode, _objects, _objectsCache, CheckForNull, EmptyDictionary, IgnoreNull
Constructor and Description |
---|
ERXMutableDictionary() |
ERXMutableDictionary(NSDictionary<? extends K,? extends V> d) |
Modifier and Type | Method and Description |
---|---|
Boolean |
booleanObjectForKey(K key) |
Object |
clone() |
static NSDictionary |
fromBlob(com.webobjects.foundation.NSData d) |
static NSDictionary |
fromPropertyList(String plist) |
String |
stringObjectForKey(K key)
return the string value of an object for key
|
static <T,U> NSMutableDictionary<T,U> |
synchronizedDictionary()
Returns a new thread-safe mutable dictionary.
|
static <T,U> NSDictionary<T,U> |
synchronizedDictionary(NSDictionary<? extends T,? extends U> dict)
Returns either a new thread-safe dictionary, or just
returns dict if the dictionary is not mutable.
|
static <T,U> NSMutableDictionary<T,U> |
synchronizedDictionary(NSMutableDictionary<? extends T,? extends U> dict)
Returns a thread-safe mutable wrapper for the given mutable dictionary.
|
com.webobjects.foundation.NSData |
toBlob() |
static com.webobjects.foundation.NSData |
toBlob(ERXMutableDictionary<?,?> dict) |
static com.webobjects.foundation.NSData |
toBlob(NSDictionary<?,?> d) |
String |
toPropertyList() |
static String |
toPropertyList(NSDictionary<?,?> dict) |
addEntriesFromDictionary, clear, immutableClone, mutableClone, put, putAll, remove, removeAllObjects, removeObjectForKey, removeObjectsForKeys, setDictionary, setObjectForKey, takeValueForKey, values
_clearDeletionsAndCollisions, _ensureCapacity, _initializeDictionary, _shallowHashCode, allKeys, allKeysForObject, allValues, classForCoder, containsKey, containsValue, count, decodeObject, emptyDictionary, encodeWithCoder, entrySet, equals, get, hashCode, hashMap, hashtable, isEmpty, isEqualToDictionary, keyEnumerator, keySet, keysNoCopy, objectEnumerator, objectForKey, objectsForKeys, objectsNoCopy, size, takeValueForKeyPath, toString, valueForKey, valueForKeyPath
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public static final long serialVersionUID
public ERXMutableDictionary(NSDictionary<? extends K,? extends V> d)
public ERXMutableDictionary()
public static com.webobjects.foundation.NSData toBlob(NSDictionary<?,?> d)
public static com.webobjects.foundation.NSData toBlob(ERXMutableDictionary<?,?> dict)
public static NSDictionary fromBlob(com.webobjects.foundation.NSData d)
public static NSDictionary fromPropertyList(String plist)
public static String toPropertyList(NSDictionary<?,?> dict)
public String toPropertyList()
public com.webobjects.foundation.NSData toBlob()
public Object clone()
clone
in class NSMutableDictionary<K,V>
public String stringObjectForKey(K key)
key
- the key which is linked to the objectpublic static <T,U> NSMutableDictionary<T,U> synchronizedDictionary(NSMutableDictionary<? extends T,? extends U> dict)
dict
- the dictionary to make thread-safepublic static <T,U> NSMutableDictionary<T,U> synchronizedDictionary()
U
- public static <T,U> NSDictionary<T,U> synchronizedDictionary(NSDictionary<? extends T,? extends U> dict)
dict
- the dictionary to make thread-safeCopyright © 2002 – 2020 Project Wonder.