#import "Queue.h"

@implementation Queue
{
}

- put:anObject
{
  [self addObject:anObject];
  return self;
}

- get
{
  id obj;

  obj = [self objectAt:0];
  [self removeObjectAt:0];
  return obj;
}

- peek
{
  return [self objectAt:0];
}
@end
