ftp.nice.ch/pub/next/tools/frontends/NEmacs.1.0j2.N.bs.tar.gz#/NEmacs/Queue.m

This is Queue.m in view mode; [Download] [Up]

#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

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.