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;
|
|
|
|
(void [])[]array;
|
|
|
|
}
|
|
|
|
- (id) init;
|
|
|
|
- (id) initWithIncrement: (integer) inc;
|
|
|
|
- (void) free;
|
|
|
|
- (void []) getItemAt: (integer) index;
|
|
|
|
- (void) setItemAt: (integer) index item:(void []) item;
|
|
|
|
- (void) addItem: (void []) item;
|
|
|
|
- (void []) removeItemAt: (integer) index;
|
|
|
|
- (void []) insertItemAt: (integer) index item:(void []) item;
|
2003-04-07 22:34:39 +00:00
|
|
|
- (integer) count;
|
2002-10-31 23:00:40 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif//__ruamoko_Array_h
|