+ (OBDictionary *) dictionary
Creates and returns an empty dictionary.
+ (OBDictionary *) dictionaryWithDictionary:(OBDictionary __obCovariantKOType *)other
Creates a dictionary by copying another dictionary.
+ (OBDictionary *) dictionaryWithObject:(id)object forKey:(obKeyType)key
Creates a dictionary with a single object and key.
+ (OBDictionary *) dictionaryWithObjects:(OBArray *)objects forKeys:(OBArray __obCovariantKeyType *)keys
Creates a dictionary with arrays of objects and keys.
+ (OBDictionary *) dictionaryWithObjects:(id *)objects forKeys:(obKeyType *)keys count:(ULONG)count
Creates a dictionary with C arrays of objects and keys.
+ (OBDictionary *) dictionaryWithObjectsAndKeys:first, ...
Creates a dictionary with a nil-terminated list of objects and keys.
- (OBArray __obCovariantKeyType *) allKeys
Returns an array containing all keys in the dictionary.
- (OBArray __obCovariantKeyType *) allKeysForObject:(id)object
Returns keys whose values are equal to the given object.
- (OBArray *) allValues
Returns an array containing all values in the dictionary.
- (ULONG) count
Returns the number of key-value pairs in the dictionary.
- (OBString *) description
Returns a string representation of the dictionary.
- (void) getObjects:(id *)objects andKeys:(obKeyType *)keys
Copies all objects and keys into the provided buffers.
- (OBDictionary *) initWithDictionary:(OBDictionary __obCovariantKOType *)dictionary
Initializes a dictionary by copying another dictionary.
- (OBDictionary *) initWithDictionary:(OBDictionary __obCovariantKOType *)dictionary copyItems:(BOOL)copyItems
Initializes a dictionary from another dictionary, optionally copying items.
- (OBDictionary *) initWithObjects:(OBArray *)objects forKeys:(OBArray __obCovariantKeyType *)keys
Initializes a dictionary with arrays of objects and keys.
- (OBDictionary *) initWithObjects:(id *)objects forKeys:(obKeyType *)keys count:(ULONG)count
Initializes a dictionary with C arrays of objects and keys.
- (OBDictionary *) initWithObjectsAndKeys:object, ...
Initializes a dictionary with a nil-terminated list of objects and keys.
- (BOOL) isEqualToDictionary:(OBDictionary *)dictionary
Compares the receiver to another dictionary for equality.
- (OBEnumerator __obCovariantKeyType *) keyEnumerator
Returns an enumerator over the dictionary’s keys.
- (OBArray __obCovariantKeyType*) keysSortedByValueUsingSelector:(SEL)selector
Returns keys sorted by their associated values using a selector.
- (OBEnumerator *) objectEnumerator
Returns an enumerator over the dictionary’s values.
- (id) objectForKey:(obKeyType)key
Returns the object associated with the given key.