#ifndef NODE_H
#define NODE_H

#include <objc/Object.h>

@interface Node : Object
{
	id next, prev, data;
}

-init;
-free;

-(BOOL)isAttached;
-(BOOL)isDoublyAttached;
-(BOOL)isFrontlyAttached;
-(BOOL)isRearlyAttached;

-setNext:(id)new;
-setPrevious:(id)new;
-setData:(id)new;

-(id)getNext;
-(id)getPrevious;
-(id)getData;

@end

#endif

