ValueLink.st
author claus
Thu, 02 Jun 1994 19:20:18 +0200
changeset 31 e223f3cf2995
parent 4 1f66800df351
child 36 d046fe84ea67
permissions -rw-r--r--
*** empty log message ***

"
 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 comment:'
COPYRIGHT (c) 1992 by Claus Gittinger
              All Rights Reserved
'!

!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.5 1994-06-02 17:20:15 claus 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
! !