The Trunk: Collections-nice.773.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Collections-nice.773.mcz

commits-2
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.773.mcz

==================== Summary ====================

Name: Collections-nice.773
Author: nice
Time: 30 November 2017, 11:32:28.759622 pm
UUID: ada0362a-409d-4c86-8929-52acda17d6f8
Ancestors: Collections-nice.772

Let Collection withAllSubclasses someSatisfy: #isAbstract. That may help some initializedInstance.

Provide a well behaved Interval initializedInstance.

=============== Diff against Collections-nice.772 ===============

Item was added:
+ ----- Method: AbstractCharacterSet class>>isAbstract (in category 'testing') -----
+ isAbstract
+ ^self = AbstractCharacterSet!

Item was added:
+ ----- Method: ArrayedCollection class>>isAbstract (in category 'testing') -----
+ isAbstract
+ ^self = ArrayedCollection!

Item was added:
+ ----- Method: Collection class>>isAbstract (in category 'testing') -----
+ isAbstract
+ ^self = Collection!

Item was added:
+ ----- Method: HashedCollection class>>isAbstract (in category 'testing') -----
+ isAbstract
+ ^self = HashedCollection!

Item was added:
+ ----- Method: Interval class>>initializedInstance (in category 'instance creation') -----
+ initializedInstance
+ ^self newFrom: #()!

Item was removed:
- ----- Method: NonPointersOrderedCollection class>>initializedInstance (in category 'instance creation') -----
- initializedInstance
- " There are no instances of me, just my subclasses "
- ^ self ~~ NonPointersOrderedCollection ifTrue: [super initializedInstance]
- !

Item was added:
+ ----- Method: NonPointersOrderedCollection class>>isAbstract (in category 'testing') -----
+ isAbstract
+ ^self = NonPointersOrderedCollection!

Item was added:
+ ----- Method: SequenceableCollection class>>isAbstract (in category 'testing') -----
+ isAbstract
+ ^self = SequenceableCollection!