#ifndef LIST_H
#define LIST_H

#include <objc/Object.h>

@interface LinkedList : Object
{
	id head, tail;
	int objectCount;
}

-init;
-free;

-(id)objectAtIndex:(int)i;
-(id)insertObject:(id)obj atIndex:(int)i;
-removeObjectAtIndex:(int)i;

-emptyList;
-(BOOL)listIsEmpty;

@end

#endif

