@@ -98,13 +98,13 @@ [_array release]; [super dealloc]; } -- (id)objectAtIndex: (size_t)index +- (id)objectAtIndex: (size_t)idx { - return [_array objectAtIndex: index]; + return [_array objectAtIndex: idx]; } - (size_t)count { return [_array count]; @@ -117,26 +117,26 @@ if (self == [SimpleMutableArray class]) [self inheritMethodsFromClass: [SimpleArray class]]; } - (void)insertObject: (id)object - atIndex: (size_t)index + atIndex: (size_t)idx { [_array insertObject: object - atIndex: index]; + atIndex: idx]; } -- (void)replaceObjectAtIndex: (size_t)index +- (void)replaceObjectAtIndex: (size_t)idx withObject: (id)object { - [_array replaceObjectAtIndex: index + [_array replaceObjectAtIndex: idx withObject: object]; } -- (void)removeObjectAtIndex: (size_t)index +- (void)removeObjectAtIndex: (size_t)idx { - [_array removeObjectAtIndex: index]; + [_array removeObjectAtIndex: idx]; } @end @implementation TestsAppDelegate (OFArrayTests) - (void)arrayTestsWithClass: (Class)arrayClass