[squeak-dev] The Trunk: Collections-eem.1022.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue Nov 22 05:36:55 UTC 2022
Eliot Miranda uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-eem.1022.mcz
==================== Summary ====================
Name: Collections-eem.1022
Author: eem
Time: 21 November 2022, 9:26:32.233055 pm
UUID: 11b99e4c-0597-4f7d-b3bf-667ea9ad2edf
Ancestors: Collections-nice.1021
Fix PositionableStream>>#isBinary, which was implemented in terms of ByteArray, implemented using the new Collection>>isUnsignedIntegerArray. Add Collection>>isSignedIntegerArray for symmetry.
=============== Diff against Collections-nice.1021 ===============
Item was added:
+ ----- Method: Collection>>isSignedIntegerArray (in category 'testing') -----
+ isSignedIntegerArray
+ ^false!
Item was added:
+ ----- Method: Collection>>isUnsignedIntegerArray (in category 'testing') -----
+ isUnsignedIntegerArray
+ ^false!
Item was changed:
----- Method: PositionableStream>>isBinary (in category 'testing') -----
isBinary
+ "Answer if the receiver is a binary stream"
+ ^collection isCollection and: [collection isUnsignedIntegerArray]!
- "Return true if the receiver is a binary byte stream"
- ^collection class == ByteArray!
Item was added:
+ ----- Method: SignedIntegerArray>>isSignedIntegerArray (in category 'testing') -----
+ isSignedIntegerArray
+ ^true!
Item was added:
+ ----- Method: UnsignedIntegerArray>>isUnsignedIntegerArray (in category 'testing') -----
+ isUnsignedIntegerArray
+ ^true!
More information about the Squeak-dev
mailing list
|