1
|
1 |
"
|
5
|
2 |
COPYRIGHT (c) 1992 by Claus Gittinger
|
1
|
3 |
All Rights Reserved
|
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
"
|
|
12 |
|
|
13 |
Object subclass:#Link
|
|
14 |
instanceVariableNames:'nextLink'
|
|
15 |
classVariableNames:''
|
|
16 |
poolDictionaries:''
|
|
17 |
category:'Collections-Support'
|
|
18 |
!
|
|
19 |
|
|
20 |
Link comment:'
|
88
|
21 |
COPYRIGHT (c) 1992 by Claus Gittinger
|
|
22 |
All Rights Reserved
|
|
23 |
'!
|
1
|
24 |
|
88
|
25 |
!Link class methodsFor:'documentation'!
|
|
26 |
|
|
27 |
copyright
|
|
28 |
"
|
|
29 |
COPYRIGHT (c) 1992 by Claus Gittinger
|
1
|
30 |
All Rights Reserved
|
|
31 |
|
88
|
32 |
This software is furnished under a license and may be used
|
|
33 |
only in accordance with the terms of that license and with the
|
|
34 |
inclusion of the above copyright notice. This software may not
|
|
35 |
be provided or otherwise made available to, or used by, any
|
|
36 |
other person. No title to or ownership of the software is
|
|
37 |
hereby transferred.
|
|
38 |
"
|
|
39 |
!
|
1
|
40 |
|
88
|
41 |
version
|
|
42 |
"
|
|
43 |
$Header: /cvs/stx/stx/libbasic/Link.st,v 1.5 1994-06-02 16:20:45 claus Exp $
|
|
44 |
"
|
|
45 |
!
|
|
46 |
|
|
47 |
documentation
|
|
48 |
"
|
|
49 |
this class provides the basic functionality for Link-nodes.
|
|
50 |
Links are abstract in that they do not provide a place for storing
|
|
51 |
something, just the link-chain.
|
|
52 |
For more usability look at ValueLink or other subclasses.
|
|
53 |
"
|
|
54 |
! !
|
1
|
55 |
|
|
56 |
!Link methodsFor:'accessing'!
|
|
57 |
|
|
58 |
nextLink
|
|
59 |
"return the next link"
|
|
60 |
|
|
61 |
^ nextLink
|
|
62 |
!
|
|
63 |
|
|
64 |
nextLink:aLink
|
|
65 |
"set the next link"
|
|
66 |
|
|
67 |
nextLink := aLink
|
|
68 |
! !
|