
/*
 * Computer Algebra Kit (c) 1993,96 by Comp.Alg.Objects.  All Rights Reserved.
 * $Id: cseq.h,v 1.5 1998/08/29 10:22:53 stes Exp $
 */

#ifndef __CASEQUENCE_HEADER__
#define __CASEQUENCE_HEADER__

#include "cobject.h"

@interface CASequence : CAObject
{
  id carrier;
}

- next;
- previous;

- (unsigned) size;
- (BOOL) isEmpty;
- (BOOL) isKindOfSequence;

- toFirst;
- toLast;
- toElementAt:(int)i;

- lastElement;
- firstElement;
- at:(unsigned)i;

- printOn:(IOD)aFile;
@end

#endif				/* __CASEQUENCE_HEADER__ */

