Lines Matching refs:ArrayIterator
29 #import "ArrayIterator.h"
34 @implementation ArrayIterator
42 + (ArrayIterator *) newIterator:(NSArray *)array
44 return [[ArrayIterator alloc] initWithArray:array];
47 + (ArrayIterator *) newIteratorForDictKey:(NSDictionary *)dict
49 return [[ArrayIterator alloc] initWithDictKey:dict];
52 + (ArrayIterator *) newIteratorForDictObj:(NSDictionary *)dict
54 return [[ArrayIterator alloc] initWithDictObj:dict];
63 reason:[NSString stringWithFormat:@"ArrayIterator expecting NSArray class but got %@", [array className]]
86 reason:[NSString stringWithFormat:@"ArrayIterator expecting NSDictionary class but got %@", [dict className]]
103 reason:[NSString stringWithFormat:@"ArrayIterator expecting NSDictionary class but got %@", [dict className]]
117 NSLog( @"called dealloc in ArrayIterator" );
170 @throw [UnsupportedOperationException newException:@"Cant remove object from ArrayIterator"];