#DOCUMENTATION by exept
authorClaus Gittinger <cg@exept.de>
Tue, 27 Aug 2019 10:23:15 +0200
changeset 24660 693421830bf9
parent 24659 c42004494020
child 24661 910625788077
#DOCUMENTATION by exept class: ByteArray comment/format in: #isValidElement:
ByteArray.st
--- a/ByteArray.st	Tue Aug 27 09:24:07 2019 +0200
+++ b/ByteArray.st	Tue Aug 27 10:23:15 2019 +0200
@@ -2920,6 +2920,9 @@
 isValidElement:anObject
     "return true, if I can hold this kind of object"
 
+    "/ notice the self class minVal/maxVal here:
+    "/ I am redefined to logically hold longer objects (shortInts, ints, longInts, etc.)
+
     ^ anObject isInteger
     and:[ (anObject >= self class minVal)
     and:[ (anObject <= self class maxVal) ]]