SmallInteger.st
changeset 3914 1aa1ab6edb7e
parent 3909 272567862afe
child 3984 45a76e2f4236
equal deleted inserted replaced
3913:19c1b6007f28 3914:1aa1ab6edb7e
   138 
   138 
   139 !SmallInteger class methodsFor:'queries'!
   139 !SmallInteger class methodsFor:'queries'!
   140 
   140 
   141 canBeSubclassed
   141 canBeSubclassed
   142     "return true, if its allowed to create subclasses of the receiver.
   142     "return true, if its allowed to create subclasses of the receiver.
   143      Return nil here - since it is NOT possible for SmallInteger"
   143      Return false here - since it is NOT possible for SmallInteger
       
   144      (due to the tagged representation of SmallIntegers)"
   144 
   145 
   145     ^ false
   146     ^ false
       
   147 
       
   148     "Modified: / 5.11.1998 / 16:11:27 / cg"
   146 !
   149 !
   147 
   150 
   148 hasImmediateInstances
   151 hasImmediateInstances
   149     "return true if this class has immediate instances.
   152     "return true if this class has immediate instances.
   150      Redefined from Behavior"
   153      Redefined from Behavior"
  2853 ! !
  2856 ! !
  2854 
  2857 
  2855 !SmallInteger class methodsFor:'documentation'!
  2858 !SmallInteger class methodsFor:'documentation'!
  2856 
  2859 
  2857 version
  2860 version
  2858     ^ '$Header: /cvs/stx/stx/libbasic/SmallInteger.st,v 1.106 1998-10-31 11:35:50 cg Exp $'
  2861     ^ '$Header: /cvs/stx/stx/libbasic/SmallInteger.st,v 1.107 1998-11-05 15:12:17 cg Exp $'
  2859 ! !
  2862 ! !