Softanza
StartFrançais
Softanza
The library documents itself · Collections & objects

stzListMerger

25 own methods · 15 forms written with extensions, listed under their method

the source: base/list/stzListMerger.ring(opens in a new tab) · All classes · The area reference: Collections & objects

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

Examples: 0 come from the library's tests; 15 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzListMerger([1, 2, 3, 4, 5, 6]). 10 methods have none yet. Examples run on 2026-10-03 12:54 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
init
initializationno extension
Content
(no comment in the source: the name reads as a sentence) contentin the section content accessno extension
NumberOfItems
(no comment in the source: the name reads as a sentence) number of itemsin the section content access
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
? o1.NumberOfItems()
#--> 6
composed from the signature, run for this page
no extension
IsEmpty
(no comment in the source: the name reads as a sentence) is emptyin the section content access
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
? o1.IsEmpty()
#--> 0
composed from the signature, run for this page
no extension
Copy
(no comment in the source: the name reads as a sentence) copyin the section content accessno extension
Update
(no comment in the source: the name reads as a sentence) updatein the section content access
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
o1.Update([ 2, 3 ])
? @@( o1.Content() )
#--> [ 2, 3 ]
composed from the signature, run for this page
no extension
UpdateWith
(no comment in the source: the name reads as a sentence) update within the section content access
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
o1.UpdateWith([ 2, 3 ])
? @@( o1.Content() )
#--> [ 2, 3 ]
composed from the signature, run for this page
no extension
Add
(no comment in the source: the name reads as a sentence) addin the section content access
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
o1.Add(3)
? @@( o1.Content() )
#--> [ 1, 2, 3, 4, 5, 6, 3 ]
composed from the signature, run for this page
no extension
Merge
(no comment in the source: the name reads as a sentence) mergein the section content accessQCSXTZZZIBWU
Merged
(no comment in the source: the name reads as a sentence) mergedin the section content accessno extension
MergeWith
(no comment in the source: the name reads as a sentence) merge within the section content access
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
o1.MergeWith([ 2, 3 ])
? @@( o1.Content() )
#--> [ 1, 2, 3, 4, 5, 6, 2, 3 ]
composed from the signature, run for this page
QCSXTZZZIBWUMany
MergedWith
(no comment in the source: the name reads as a sentence) merged within the section content access
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
? @@( o1.MergedWith([ 2, 3 ]) )
#--> [ 1, 2, 3, 4, 5, 6, 2, 3 ]
composed from the signature, run for this page
QCSXTZZZIBWUMany
AssociateWith
Pair each item with its counterpart in the given list: [ [item, other], ... ].also written: AssociatedWith
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
? @@( o1.AssociateWith([ 2, 3 ]) )
#--> [ [ 1, 2 ], [ 2, 3 ], [ 3, "" ], [ 4, "" ], [ 5, "" ], [ 6, "" ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
Flatten
flatten (deep merge)QCSXTZZZIBWU
Flattened
flatten (deep merge)no extension
InterleaveWith
interleaveQCSXTZZZIBWU
InterleavedWith
The items interleaved with the given list's items, alternating.
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
? @@( o1.InterleavedWith([ 2, 3 ]) )
#--> [ 1, 2, 2, 3, 3, 4, 5, 6 ]
composed from the signature, run for this page
no extension
ZipWith
zip -- pair items from two listsalso written: ZippedWith
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
? @@( o1.ZipWith([ 2, 3 ]) )
#--> [ [ 1, 2 ], [ 2, 3 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
Unzip
unzip -- split pairs into two listsalso written: UnzippedQCSXTZZZIBWU
PrependWith
prepend list
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
o1.PrependWith([ 2, 3 ])
? @@( o1.Content() )
#--> [ 2, 3, 1, 2, 3, 4, 5, 6 ]
composed from the signature, run for this page
QCSXTZZZIBWU
PrependedWith
A copy with the given list's items put in front.
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
? @@( o1.PrependedWith([ 2, 3 ]) )
#--> [ 2, 3, 1, 2, 3, 4, 5, 6 ]
composed from the signature, run for this page
no extension
DiffWith
diff -- items in this but not in otheralso written: Minus
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
? @@( o1.DiffWith([ 2, 3 ]) )
#--> [ 1, 4, 5, 6 ]
composed from the signature, run for this page
QCSXTZZZIBWU
IntersectWith
intersect -- items in both listsalso written: CommonWith
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
? @@( o1.IntersectWith([ 2, 3 ]) )
#--> [ 2, 3 ]
composed from the signature, run for this page
QCSXTZZZIBWU
UnionWith
union -- all unique items from both listsQCSXTZZZIBWU
Partition
partition -- split into n groupsalso written: Partitioned
composed example
o1 = new stzListMerger([1, 2, 3, 4, 5, 6])
? @@( o1.Partition(2) )
#--> [ [ 1, 2, 3 ], [ 4, 5, 6 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU