|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object er.extensions.ERXDictionaryUtilities
Collection of NSDictionary
utilities.
Constructor Summary | |
ERXDictionaryUtilities()
|
Method Summary | |
static NSDictionary |
dictionaryByRemovingFromDictionaryKeysInArray(NSDictionary d,
NSArray a)
Removes an array of keys from a dictionary and returns the result. |
static NSDictionary |
dictionaryFromObjectWithKeys(Object object,
NSArray keys)
Creates a dictionary from an objects and an array of key paths |
static NSDictionary |
dictionaryFromPropertyList(String name,
NSBundle bundle)
Creates an NSDictionary from a resource associated with a given bundle that is in property list format. |
static NSDictionary |
dictionaryWithDictionaryAndDictionary(NSDictionary dict1,
NSDictionary dict2)
Creates an immutable dictionary containing all of the keys and objects from two dictionaries. |
static NSDictionary |
dictionaryWithObjectsAndKeys(Object[] objectsAndKeys)
Creates a dictionary from a list of alternating objects and keys starting with an object. |
static NSDictionary |
removeNullValues(NSDictionary dict)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ERXDictionaryUtilities()
Method Detail |
public static NSDictionary dictionaryWithDictionaryAndDictionary(NSDictionary dict1, NSDictionary dict2)
dict1
- the first dictionarydict2
- the second dictionary
public static NSDictionary dictionaryFromPropertyList(String name, NSBundle bundle)
name
- name of the file or resource.bundle
- NSBundle to which the resource belongs.
public static NSDictionary dictionaryWithObjectsAndKeys(Object[] objectsAndKeys)
objectsAndKeys
- alternating list of objects and keys
public static NSDictionary dictionaryByRemovingFromDictionaryKeysInArray(NSDictionary d, NSArray a)
d
- dictionary to be pruneda
- array of keys to be pruned
public static NSDictionary removeNullValues(NSDictionary dict)
public static NSDictionary dictionaryFromObjectWithKeys(Object object, NSArray keys)
object
- object to pull the values fromkeys
- array of keys
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |