[CCC] Boolean class comment

Dwight Hughes dwighth at ipa.net
Mon Feb 28 02:25:54 UTC 2000


-----------------------------------------------------------------
Boolean is an abstract class defining the protocol for logic testing
operations and conditional control structures for the logical values
represented by its subclasses True and False. Boolean redefines #new so
no instances of Boolean can be created. It also redefines several
messages in the 'copying' protocol to ensure that only one instance of
each of its subclasses True (the global true, logical assertion) and
False (the global false, logical negation) exist in the system.

-----------------------------------------------------------------

-- Dwight





More information about the Squeak-dev mailing list