// ////////////////////////////////////////////////////////
// Copyright (1994) Columbia University
// Department of Biochemistry and Molecular Biophysics
//
// Author: Weider Chang, Ph.D
// ///////////////////////////////////////////////////////

#ifndef _WDCLINKEDLISTCOMPRISING_M_
#define _WDCLINKEDLISTCOMPRISING_M_

// to use these implementation with a user defined class that comprise
// the LinkedListComprising protocol, _next 
// and _prev with type of id should be embeded in the class. 

- nextLink;
{
  return _next;
}

- prevLink;
{
  return _prev;
}

- setNextLink:(id <LinkedListComprising>)aLink;
{
  _next=aLink;
  return self;
}

- setPrevLink:(id <LinkedListComprising>)aLink;
{
  _prev=aLink;
  return self;
}

#endif



