Back: NullProxy-accessing Up: Base classes Forward: NullValueHolder class-creating instances   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.118 NullValueHolder

Defined in namespace Smalltalk
Superclass: ValueAdaptor
Category: Language-Data types
I pretend to store my value in a variable, but I don't actually. You can use the only instance of my class (returned by `ValueHolder null') if you're not interested in a value that is returned as described in ValueHolder's comment.

1.118.1 NullValueHolder class: creating instances  (class)
1.118.2 NullValueHolder: accessing  (instance)


1.118.1 NullValueHolder class: creating instances

new
Not used -- use `ValueHolder null' instead

uniqueInstance
Answer the sole instance of NullValueHolder


1.118.2 NullValueHolder: accessing

value
Retrive the value of the receiver. Always answer nil

value: anObject
Set the value of the receiver. Do nothing, discard the value



Back: NullValueHolder class-creating instances Up: NullValueHolder Forward: Number   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on July, 23 2009 using texi2html