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

stzListWalker

22 own methods · 4 forms written with extensions, listed under their method

the source: base/list/stzListWalker.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; 12 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzListWalker([1, 2, 3, 4, 5]). 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
content accessno extension
List
content accessno extension
NumberOfItems
content access
composed example
o1 = new stzListWalker([1, 2, 3, 4, 5])
? o1.NumberOfItems()
#--> 5
composed from the signature, run for this page
no extension
IsEmpty
content access
composed example
o1 = new stzListWalker([1, 2, 3, 4, 5])
? o1.IsEmpty()
#--> 0
composed from the signature, run for this page
no extension
AddWalker
walking the list itemsno extension
Walkers
walking the list itemsno extension
Walker
walking the list itemsQCSXTZZZIBWU
WalkNForward
walking the list n items forwardalso written: WalkForwardNSteps
composed example
o1 = new stzListWalker([1, 2, 3, 4, 5])
? @@( o1.WalkNForward(2) )
#--> [ 1, 3, 5 ]
composed from the signature, run for this page
no extension
WalkNBackward
walking the list n items backwardalso written: WalkBackwardNSteps
composed example
o1 = new stzListWalker([1, 2, 3, 4, 5])
? @@( o1.WalkNBackward(2) )
#--> [ 5, 3, 1 ]
composed from the signature, run for this page
no extension
WalkBetween
walking betweenno extension
WalkForthAndBack
walking forth and back
composed example
o1 = new stzListWalker([1, 2, 3, 4, 5])
? @@( o1.WalkForthAndBack(2) )
#--> [ 1, 3, 5, 5, 3, 1 ]
composed from the signature, run for this page
no extension
WalkW
Walk the list collecting where the W condition holds.also written: PositionsW · PositionsWhere
composed example
o1 = new stzListWalker([1, 2, 3, 4, 5])
? @@( o1.WalkW("@item > 3") )
#--> [ 4, 5 ]
composed from the signature, run for this page
no extension
WalkUntil
Walk the items UNTIL the given condition holds.
composed example
o1 = new stzListWalker([1, 2, 3, 4, 5])
? @@( o1.WalkUntil("@item > 3") )
#--> [ 1, 2, 3, 4 ]
composed from the signature, run for this page
QCSXTZZZIBWU
WalkWhere
Walk the list collecting where the condition holds.
composed example
o1 = new stzListWalker([1, 2, 3, 4, 5])
? @@( o1.WalkWhere("@item > 3") )
#--> [ 4, 5 ]
composed from the signature, run for this page
no extension
WalkWhen
walking when
composed example
o1 = new stzListWalker([1, 2, 3, 4, 5])
? @@( o1.WalkWhen("@item > 3") )
#--> [ 4, 5 ]
composed from the signature, run for this page
QCSXTZZZIBWU
WalkWhile
Walk the items WHILE the given condition holds.QCSXTZZZIBWU
WalkZigZag
walking in zigzag patternno extension
WalkEveryNth
walking every nth positionalso written: WalkEach
composed example
o1 = new stzListWalker([1, 2, 3, 4, 5])
? @@( o1.WalkEveryNth(2) )
#--> [ 2, 4 ]
composed from the signature, run for this page
no extension
WalkFromTo
walk between two valuesno extension
WalkSkipping
walk skipping n itemsalso written: WalkSkip
composed example
o1 = new stzListWalker([1, 2, 3, 4, 5])
? @@( o1.WalkSkipping(2) )
#--> [ 1, 4 ]
composed from the signature, run for this page
no extension
WalkAccumulating
walk with custom accumulatoralso written: WalkAccumulate
composed example
o1 = new stzListWalker([1, 2, 3, 4, 5])
? @@( o1.WalkAccumulating("@item > 3") )
#--> [ 0, 0, 0, 1, 1 ]
composed from the signature, run for this page
no extension