2002-10-31 23:00:40 +00:00
|
|
|
#ifndef __ruamoko_Array_h
|
|
|
|
#define __ruamoko_Array_h
|
|
|
|
|
|
|
|
#include "Object.h"
|
|
|
|
|
|
|
|
@interface Array: Object
|
|
|
|
{
|
|
|
|
integer count, size;
|
|
|
|
integer incr;
|
2003-05-23 04:27:30 +00:00
|
|
|
id [] array;
|
2002-10-31 23:00:40 +00:00
|
|
|
}
|
|
|
|
- (id) init;
|
|
|
|
- (id) initWithIncrement: (integer) inc;
|
2004-02-04 02:35:57 +00:00
|
|
|
- (void) dealloc;
|
2003-05-23 04:38:08 +00:00
|
|
|
- (id) getItemAt: (integer) index;
|
|
|
|
- (void) setItemAt: (integer) index item:(id) item;
|
|
|
|
- (void) addItem: (id) item;
|
|
|
|
- (void) removeItem: (id) item;
|
|
|
|
- (id) removeItemAt: (integer) index;
|
|
|
|
- (id) insertItemAt: (integer) index item:(id) item;
|
2003-04-07 22:34:39 +00:00
|
|
|
- (integer) count;
|
2006-12-16 13:59:29 +00:00
|
|
|
- (integer) findItem: (id) item;
|
2003-07-24 20:50:40 +00:00
|
|
|
-(void)makeObjectsPerformSelector:(SEL)selector;
|
|
|
|
-(void)makeObjectsPerformSelector:(SEL)selector withObject:(id)arg;
|
2002-10-31 23:00:40 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif//__ruamoko_Array_h
|