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

stzListDuplicates

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

the source: base/list/stzListDuplicates.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 stzListDuplicates(["a", "b", "c", "a", "b", "d"]). 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
(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 stzListDuplicates(["a", "b", "c", "a", "b", "d"])
? 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 stzListDuplicates(["a", "b", "c", "a", "b", "d"])
? 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
UpdateWith
(no comment in the source: the name reads as a sentence) update within the section content access
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
o1.UpdateWith([ 2, 3 ])
? @@( o1.Content() )
#--> [ 2, 3 ]
composed from the signature, run for this page
no extension
List
(no comment in the source: the name reads as a sentence) listin the section content accessno extension
RemoveItemAtPosition
(no comment in the source: the name reads as a sentence) remove item at positionin the section content access
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
o1.RemoveItemAtPosition(2)
? @@( o1.Content() )
#--> [ "a", "c", "a", "b", "d" ]
composed from the signature, run for this page
no extension
FindAllCS
(no comment in the source: the name reads as a sentence) find all csin the section content accessno extension
FindDuplicates
finding duplicated items
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
? @@( o1.FindDuplicates() )
#--> [ 4, 5 ]
composed from the signature, run for this page
QCSXTZZZIBWU
DuplicatedItems
duplicated items
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
? @@( o1.DuplicatedItems() )
#--> [ "a", "b" ]
composed from the signature, run for this page
QCSXTZZZIBWU
RemoveDuplicates
removing duplicates
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
o1.RemoveDuplicates()
? @@( o1.Content() )
#--> [ "a", "b", "c", "d" ]
composed from the signature, run for this page
QCSXTZZZIBWU
WithoutDuplication
without duplicationalso written: WithoutDuplicates
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
? @@( o1.WithoutDuplication() )
#--> [ "a", "b", "c", "d" ]
composed from the signature, run for this page
QCSXTZZZIBWU
HasDuplicates
has duplicatesalso written: ContainsDuplicates · ContainsDuplicatedItems
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
? o1.HasDuplicates()
#--> 1
composed from the signature, run for this page
QCSXTZZZIBWU
NumberOfDuplicates
number of duplicates
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
? o1.NumberOfDuplicates()
#--> 2
composed from the signature, run for this page
QCSXTZZZIBWU
FindDuplicatesOf
finding duplicates of a specific itemQCSXTZZZIBWU
UniqueItems
unique items (without duplicates)also written: Unique
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
? @@( o1.UniqueItems() )
#--> [ "a", "b", "c", "d" ]
composed from the signature, run for this page
QCSXTZZZIBWU
FindNonDuplicatedItems
finding non duplicated items
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
? @@( o1.FindNonDuplicatedItems() )
#--> [ 3, 6 ]
composed from the signature, run for this page
QCSXTZZZIBWU
NonDuplicatedItems
non duplicated items
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
? @@( o1.NonDuplicatedItems() )
#--> [ "c", "d" ]
composed from the signature, run for this page
QCSXTZZZIBWU
ItemsDuplicatedNTimes
items duplicated exactly n times
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
? @@( o1.ItemsDuplicatedNTimes(2) )
#--> [ "a", "b" ]
composed from the signature, run for this page
QCSXTZZZIBWU
MostDuplicatedItem
most duplicated item
composed example
o1 = new stzListDuplicates(["a", "b", "c", "a", "b", "d"])
? o1.MostDuplicatedItem()
#--> a
composed from the signature, run for this page
QCSXTZZZIBWU
RemoveNthDuplicate
remove nth duplicateQCSXTZZZIBWU