--- a/UnboxedIntegerArray.st Sat Mar 02 23:16:48 2019 +0100
+++ b/UnboxedIntegerArray.st Sat Mar 02 23:17:06 2019 +0100
@@ -98,6 +98,16 @@
^ 0
!
+isValidElement:anObject
+ "return true, if I can hold this kind of object"
+
+ ^ anObject isInteger
+ and:[ (anObject >= self class minVal)
+ and:[ (anObject <= self class maxVal) ]]
+! !
+
+!UnboxedIntegerArray methodsFor:'testing'!
+
isIntegerArray
"return true if the receiver has integer elements.
These are Byte- and Integer arrays; both signed and unsigned"
@@ -105,14 +115,6 @@
^ true
"Created: / 02-03-2019 / 23:10:28 / Claus Gittinger"
-!
-
-isValidElement:anObject
- "return true, if I can hold this kind of object"
-
- ^ anObject isInteger
- and:[ (anObject >= self class minVal)
- and:[ (anObject <= self class maxVal) ]]
! !
!UnboxedIntegerArray class methodsFor:'documentation'!