Definition at line 28 of file OrderedDictionary.h.
 
◆ indexForKey:
      
        
          | - (NSUInteger) indexForKey:  | 
           | 
          (id)  | 
          key | 
           | 
        
      
 
Definition at line 28 of file OrderedDictionary.m.
  130                         :(id)key
  131{
  132  return [array indexOfObject:key];
  133}
 
 
 
◆ indexForValue:
      
        
          | - (NSUInteger) indexForValue:  | 
           | 
          (id)  | 
          value | 
           | 
        
      
 
Definition at line 28 of file OrderedDictionary.m.
  135                           :(id)value
  136{
  137  NSArray *keys = [self allKeysForObject:value];
  138  if ([keys count] > 0)
  139  {
  140    return [self indexForKey:[keys objectAtIndex:0]];
  141  }
  142 
  143  return NSNotFound;
  144}
 
 
 
◆ insertObject:forKey:atIndex:
      
        
          | - (void) insertObject:  | 
           | 
          (id)  | 
          anObject | 
        
        
          | forKey: | 
           | 
          (id)  | 
          aKey | 
        
        
          | atIndex: | 
           | 
          (NSUInteger)  | 
          anIndex  | 
        
        
           | 
           | 
           |  | 
        
      
 
Definition at line 28 of file OrderedDictionary.m.
  115                    :(id)anObject forKey:(id)aKey atIndex:(NSUInteger)anIndex
  116{
  117  if ([dictionary objectForKey:aKey])
  118  {
  119    [self removeObjectForKey:aKey];
  120  }
  121  [array insertObject:aKey atIndex:anIndex];
  122  [dictionary setObject:anObject forKey:aKey];
  123}
 
 
 
◆ keyAtIndex:
      
        
          | - (id) keyAtIndex:  | 
           | 
          (NSUInteger)  | 
          anIndex | 
           | 
        
      
 
Definition at line 28 of file OrderedDictionary.m.
  125                :(NSUInteger)anIndex
  126{
  127  return [array objectAtIndex:anIndex];
  128}
 
 
 
◆ reverseKeyEnumerator
      
        
          | - (NSEnumerator *) reverseKeyEnumerator  | 
           | 
           | 
           | 
        
      
 
 
◆ array
  
  
      
        
          | - (NSMutableArray*) array | 
         
       
   | 
  
protected   | 
  
 
 
◆ dictionary
  
  
      
        
          | - (NSMutableDictionary*) dictionary | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: