Link.st
author claus
Mon, 04 Oct 1993 11:32:33 +0100
changeset 2 6526dde5f3ac
parent 1 a27a279701f8
child 3 24d81bf47225
permissions -rw-r--r--
2.7.2

"
 COPYRIGHT (c) 1992-93 by Claus Gittinger
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"

Object subclass:#Link
       instanceVariableNames:'nextLink'
       classVariableNames:''
       poolDictionaries:''
       category:'Collections-Support'
!

Link comment:'

COPYRIGHT (c) 1992-93 by Claus Gittinger
              All Rights Reserved

this class provides the basic functionality for Link-nodes.
Links are abstract in that they do not provide a place for storing something,
just the link-chain. For more usability look at ValueLink.

%W% %E%
'!

!Link methodsFor:'accessing'!

nextLink
    "return the next link"

    ^ nextLink
!

nextLink:aLink
    "set the next link"

    nextLink := aLink
! !