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

stzListInserter

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

the source: base/list/stzListInserter.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; 8 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzListInserter(["1", "2", "3"]). 7 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
content accessno extension
NumberOfItems
content access
composed example
o1 = new stzListInserter(["1", "2", "3"])
? o1.NumberOfItems()
#--> 3
composed from the signature, run for this page
no extension
IsEmpty
content access
composed example
o1 = new stzListInserter(["1", "2", "3"])
? o1.IsEmpty()
#--> 0
composed from the signature, run for this page
no extension
Insert
(no comment in the source: the name reads as a sentence) insertin the section inserting an item before a given positionQCSXTZZZIBWU
InsertItem
(no comment in the source: the name reads as a sentence) insert itemin the section inserting an item before a given positionno extension
InsertBeforePosition
(no comment in the source: the name reads as a sentence) insert before positionin the section inserting an item before a given position
composed example
o1 = new stzListInserter(["1", "2", "3"])
o1.InsertBeforePosition(2, "tea")
? @@( o1.Content() )
#--> [ "tea", "1", "2", "3" ]
composed from the signature, run for this page
QCSXTZZZIBWU
InsertBefore
(no comment in the source: the name reads as a sentence) insert beforein the section inserting an item before a given position
composed example
o1 = new stzListInserter(["1", "2", "3"])
o1.InsertBefore(2, "tea")
? @@( o1.Content() )
#--> [ "tea", "1", "2", "3" ]
composed from the signature, run for this page
no extension
InsertAt
(no comment in the source: the name reads as a sentence) insert atin the section inserting an item before a given position
composed example
o1 = new stzListInserter(["1", "2", "3"])
o1.InsertAt(2, "tea")
? @@( o1.Content() )
#--> [ "1", "tea", "2", "3" ]
composed from the signature, run for this page
QCSXTZZZIBWU
InsertAfterPosition
inserting an item after a given position
composed example
o1 = new stzListInserter(["1", "2", "3"])
o1.InsertAfterPosition(2, "tea")
? @@( o1.Content() )
#--> [ "1", "tea", "2", "3" ]
composed from the signature, run for this page
QCSXTZZZIBWU
InsertAfter
inserting an item after a given position
composed example
o1 = new stzListInserter(["1", "2", "3"])
o1.InsertAfter(2, "tea")
? @@( o1.Content() )
#--> [ "1", "tea", "2", "3" ]
composed from the signature, run for this page
no extension
InsertBeforePositions
inserting before many positions
composed example
o1 = new stzListInserter(["1", "2", "3"])
o1.InsertBeforePositions([ 2, 3 ], "tea")
? @@( o1.Content() )
#--> [ "tea", "1", "tea", "2", "3" ]
composed from the signature, run for this page
QCSXTZZZIBWU
MoveItem
moving item at position n1 to position n2QCSXTZZZIBWU
SwapItems
swapping items at two given positionsQCSXTZZZIBWU
Swap
swapping items at two given positionsno extension