ValueLink.st
author Claus Gittinger <cg@exept.de>
Sat, 11 Nov 1995 16:22:01 +0100
changeset 112 3e18f2cfe430
parent 85 df13b436b54e
child 124 d919bc2f0078
permissions -rw-r--r--
uff - version methods changed to return stings

"
 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.
"

Link subclass:#ValueLink
       instanceVariableNames:'value'
       classVariableNames:''
       poolDictionaries:''
       category:'Collections-Support'
!

!ValueLink class methodsFor:'documentation'!

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.
"
!

version
    ^ '$Header: /cvs/stx/stx/libbasic2/ValueLink.st,v 1.9 1995-11-11 15:21:58 cg Exp $'
!

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

!ValueLink methodsFor:'accessing'!

value
    "return the Links contents"

    ^ value
!

value:anObject
    "set the Links contents"

    value := anObject
! !