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

stzListComparator

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

the source: base/list/stzListComparator.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; 17 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzListComparator(["a", "b", "c", "d"]). 5 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 stzListComparator(["a", "b", "c", "d"])
? o1.NumberOfItems()
#--> 4
composed from the signature, run for this page
no extension
IsEmpty
content access
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.IsEmpty()
#--> 0
composed from the signature, run for this page
no extension
IsEqualTo
(no comment in the source: the name reads as a sentence) is equal toin the section comparison methods
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.IsEqualTo([ 2, 3 ])
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
CommonItems
(no comment in the source: the name reads as a sentence) common itemsin the section comparison methodsQCSXTZZZIBWU
Union
(no comment in the source: the name reads as a sentence) unionin the section comparison methods
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? @@( o1.Union([ 2, 3 ]) )
#--> [ "a", "b", "c", "d", 2, 3 ]
composed from the signature, run for this page
QCSXTZZZIBWU
Difference
items not in otheralso written: ItemsNotInin the section comparison methodsQCSXTZZZIBWU
IsReverseOf
(no comment in the source: the name reads as a sentence) is reverse ofin the section comparison methodsQCSXTZZZIBWU
IsNotEqualTo
not equal
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.IsNotEqualTo([ 2, 3 ])
#--> 1
composed from the signature, run for this page
QCSXTZZZIBWU
IsStrictlyEqualTo
strict equality (same content + same order)also written: IsIdenticalTo
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.IsStrictlyEqualTo([ 2, 3 ])
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
SymmetricDifference
symmetric difference
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? @@( o1.SymmetricDifference([ 2, 3 ]) )
#--> [ "a", "b", "c", "d", 2, 3 ]
composed from the signature, run for this page
QCSXTZZZIBWU
IsSubsetOf
is subset / superset
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.IsSubsetOf([ 2, 3 ])
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
IsSupersetOf
is subset / superset
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.IsSupersetOf([ 2, 3 ])
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
Contains
contains
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.Contains("tea")
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
ContainsAllOfThese
contains
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.ContainsAllOfThese([ 2, 3 ])
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
ContainsOneOfThese
contains
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.ContainsOneOfThese([ 2, 3 ])
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
IsSameSizeAs
is same size asalso written: HasSameLengthAs
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.IsSameSizeAs([ 2, 3 ])
#--> 0
composed from the signature, run for this page
no extension
IsSortedLike
is sorted like
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.IsSortedLike([ 2, 3 ])
#--> 0
composed from the signature, run for this page
no extension
StartsWith
starts with / ends with
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.StartsWith([ 2, 3 ])
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
EndsWith
starts with / ends with
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.EndsWith([ 2, 3 ])
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
IsPermutationOf
is permutation of
composed example
o1 = new stzListComparator(["a", "b", "c", "d"])
? o1.IsPermutationOf([ 2, 3 ])
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU