|
Class: ValueLink
Object
|
+--Link
|
+--ValueLink
- Package:
- stx:libbasic2
- Category:
- Collections-Support
- Version:
- rev:
1.16
date: 2021/01/20 14:09:12
- user: cg
- file: ValueLink.st directory: libbasic2
- module: stx stc-classLibrary: libbasic2
this class provides Links which can hold a value.
Instances are typically used as elements in a linkedList.
copyrightCOPYRIGHT (c) 1992 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.
instance creation
-
value: aValue
-
return a new instance with a value of aValue.
accessing
-
value
-
return the link's contents
-
value: anObject
-
set the link's contents
printing
-
printOn: aStream
-
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.
The default here is to output the receiver's class name.
BUT: this method is heavily redefined for objects which
can print prettier.
|