ImmutableByteArray.st
changeset 24310 80e6b5fa6041
parent 24173 ee8d63b7e7a4
child 24447 36e27d5222ef
equal deleted inserted replaced
24309:54640603c048 24310:80e6b5fa6041
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "
     3 "
     2  COPYRIGHT (c) 2009 by eXept Software AG
     4  COPYRIGHT (c) 2009 by eXept Software AG
     3 	      All Rights Reserved
     5 	      All Rights Reserved
     4 
     6 
     5  This software is furnished under a license and may be used
     7  This software is furnished under a license and may be used
   380 ! !
   382 ! !
   381 
   383 
   382 !ImmutableByteArray methodsFor:'queries'!
   384 !ImmutableByteArray methodsFor:'queries'!
   383 
   385 
   384 isImmutable
   386 isImmutable
       
   387     "return true, if the receiver is immutable.
       
   388      Since I am an immutable byte array, return always true here"
       
   389 
   385     ^ true
   390     ^ true
       
   391 
       
   392     "Modified (comment): / 09-06-2019 / 14:54:36 / Claus Gittinger"
   386 !
   393 !
   387 
   394 
   388 isLiteral
   395 isLiteral
   389     "return true, if the receiver can be used as a literal constant in ST syntax
   396     "return true, if the receiver can be used as a literal constant in ST syntax
   390      (i.e. can be used in constant arrays)"
   397      (i.e. can be used in constant arrays)"