Boolean.st
changeset 13757 fd0a9ad8c8e8
parent 13131 19fb1740fdd1
child 16726 c2a7696dbed9
child 18011 deb0c3355881
equal deleted inserted replaced
13756:3ee6a0a23256 13757:fd0a9ad8c8e8
    88      Boolean readFromString:'true xxx'   
    88      Boolean readFromString:'true xxx'   
    89      Boolean readFromString:'false xxx'  
    89      Boolean readFromString:'false xxx'  
    90     "
    90     "
    91 ! !
    91 ! !
    92 
    92 
       
    93 
       
    94 
    93 !Boolean class methodsFor:'queries'!
    95 !Boolean class methodsFor:'queries'!
    94 
    96 
    95 hasSharedInstances
    97 hasSharedInstances
    96     "return true if this class has shared instances, that is, instances
    98     "return true if this class has shared instances, that is, instances
    97      with the same value are identical.
    99      with the same value are identical.
   109     "Modified: 23.4.1996 / 15:58:22 / cg"
   111     "Modified: 23.4.1996 / 15:58:22 / cg"
   110 ! !
   112 ! !
   111 
   113 
   112 
   114 
   113 
   115 
   114 
       
   115 !Boolean methodsFor:'blocked'!
   116 !Boolean methodsFor:'blocked'!
   116 
   117 
   117 addDependent:someOne
   118 addDependent:someOne
   118     "/ not really an error ...
   119     "/ not really an error ...
   119     "/ self error:'should not be invoked for booleans'
   120     "/ self error:'should not be invoked for booleans'
   192      receiver can be reconstructed using readFrom:."
   193      receiver can be reconstructed using readFrom:."
   193 
   194 
   194     ^ self printString
   195     ^ self printString
   195 ! !
   196 ! !
   196 
   197 
   197 
       
   198 !Boolean methodsFor:'testing'!
   198 !Boolean methodsFor:'testing'!
   199 
   199 
   200 isBoolean
   200 isBoolean
   201     "Return true, because it is a boolean."
   201     "Return true, because it is a boolean."
   202 
   202 
   230 ! !
   230 ! !
   231 
   231 
   232 !Boolean class methodsFor:'documentation'!
   232 !Boolean class methodsFor:'documentation'!
   233 
   233 
   234 version
   234 version
   235     ^ '$Header: /cvs/stx/stx/libbasic/Boolean.st,v 1.41 2010-11-17 14:59:49 cg Exp $'
   235     ^ '$Header: /cvs/stx/stx/libbasic/Boolean.st,v 1.42 2011-09-29 13:24:33 cg Exp $'
   236 !
   236 !
   237 
   237 
   238 version_CVS
   238 version_CVS
   239     ^ '$Header: /cvs/stx/stx/libbasic/Boolean.st,v 1.41 2010-11-17 14:59:49 cg Exp $'
   239     ^ '$Header: /cvs/stx/stx/libbasic/Boolean.st,v 1.42 2011-09-29 13:24:33 cg Exp $'
   240 ! !
   240 ! !