eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ValueLink':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ValueLink


Inheritance:

   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

Description:


this class provides Links which can hold a value.
Instances are typically used as elements in a linkedList.

copyright

COPYRIGHT (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.

Class protocol:

instance creation
o  value: aValue
return a new instance with a value of aValue.


Instance protocol:

accessing
o  value
return the link's contents

o  value: anObject
set the link's contents

printing
o  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.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:48:46 GMT