![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
1.143.1 SequenceableCollection class: instance creation (class) 1.143.2 SequenceableCollection: basic (instance) 1.143.3 SequenceableCollection: concatenating (instance) 1.143.4 SequenceableCollection: copying SequenceableCollections (instance) 1.143.5 SequenceableCollection: enumerating (instance) 1.143.6 SequenceableCollection: replacing items (instance) 1.143.7 SequenceableCollection: sorting (instance) 1.143.8 SequenceableCollection: testing (instance)
I use my first element instead of myself as a prototype because my elements are more likely to share the desired properties than I am, such as in:
#('hello, ' 'world') join => 'hello, world'
I use my first element instead of myself as a prototype because my elements are more likely to share the desired properties than I am, such as in:
#('hello,' 'world') join: ' ' => 'hello, world'
If start < stop, these are replaced by the contents of the replacementCollection. Instead, If start = (stop + 1), like in `copyReplaceFrom: 4 to: 3 with: anArray', then every element of the receiver will be present in the answered copy; the operation will be an append if stop is equal to the size of the receiver or, if it is not, an insert before index `start'.
If start < stop, these are replaced by stop-start+1 copies of anObject. Instead, If start = (stop + 1), then every element of the receiver will be present in the answered copy; the operation will be an append if stop is equal to the size of the receiver or, if it is not, an insert before index `start'.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |