Softanza
DémarrerEnglish
Softanza
La bibliothèque se documente elle-même · Collections et objets

stzListFinder

30 méthodes propres · 32 formes avec extensions, rangées sous leur méthode

la source: base/list/stzListFinder.ring(s'ouvre dans un nouvel onglet) · Toutes les classes · La référence du domaine : Collections et objets

Sous chaque méthode, ses extensions (Q CS XT Z ZZ IB W U) : en gras et cochée, elle existe ; barrée, elle n'existe pas. Les extensions et leur sens

Exemples : 0 viennent des tests de la bibliothèque ; 17 ont été composés à partir de la signature de chaque méthode et exécutés pour cette page, sur un objet neuf, par exemple o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"]). 13 méthodes n'en ont pas encore. Exemples exécutés le 2026-10-03 12:54 dans la bibliothèque au commit 0e72e2e2c.

Méthode
Explication, telle que la source la porte
init
initializationaucune extension
Content
content accessaucune extension
NumberOfItems
content access
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.NumberOfItems()
#--> 6
composé à partir de la signature, exécuté pour cette page
aucune extension
IsEmpty
content access
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.IsEmpty()
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
FindAllOccurrences
WITHOUT CASESENSITIVITYaussi écrite: FindAllQCSXTZZZIBWUQRT
Find
finding all occurrences of an itemaussi écrite: FindItemQCSXTZZZIBWUMany
AntiFind
finding positions where the item does not exist
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? @@( o1.AntiFind("tea") )
#--> [ 1, 2, 3, 4, 5, 6 ]
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
AntiFindAsSections
finding sections where the item does not exist
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? @@( o1.AntiFindAsSections("tea") )
#--> [ [ 1, 6 ] ]
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
AntiPositions
getting the anti-positions of the given positions in the list
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? @@( o1.AntiPositions([ 1, 2 ]) )
#--> [ 3, 4, 5, 6 ]
composé à partir de la signature, exécuté pour cette page
aucune extension
FindNOccurrences
finding n occurrences of an itemQCSXTZZZIBWU
FindFirst
finding first occurrence of an item in the list
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.FindFirst("tea")
#--> 0
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
FindLast
finding last occurrence of an item in the list
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.FindLast("tea")
#--> 0
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
FindNth
finding nth occurrence of an item
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.FindNth(2, "tea")
#--> 0
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
FindGivenOccurrences
finding given occurrences of an itemQCSXTZZZIBWU
FindAllExceptFirst
finding all except first occurrenceQCSXTZZZIBWU
FindAllExceptLast
finding all except last occurrenceQCSXTZZZIBWU
NumberOfOccurrence
number of occurrences of an item
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.NumberOfOccurrence("tea")
#--> 0
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
FindNextNthOccurrence
finding next nth occurrence
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.FindNextNthOccurrence(2, "tea", 5)
#--> 0
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
FindNextOccurrence
finding next occurrence
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.FindNextOccurrence("tea", 2)
#--> 0
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
FindPreviousNthOccurrence
finding previous nth occurrenceaussi écrite: FindPreviousNth
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.FindPreviousNthOccurrence(2, "tea", 5)
#--> 0
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
FindPreviousOccurrence
finding previous occurrence
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.FindPreviousOccurrence("tea", 2)
#--> 0
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWU
CountItemsW
counting items under a conditionaucune extension
Contains
contains
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.Contains("tea")
#--> 0
composé à partir de la signature, exécuté pour cette page
QCSXTZZZIBWUMany
FindNextOccurrences
Same as FindNextOccurrencesCS: ALL occurrences after / before a positionQCSXTZZZIBWUST
FindPreviousOccurrences
next / previous occurrence search (from a position)QCSXTZZZIBWUST
FindNthNextOccurrence
the n-th occurrence after a position (forward; handles :Of/:StartingAt)aussi écrite: FindNextNth · NextNthOccurrence · NthNextOccurrence
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.FindNthNextOccurrence(2, "tea", 5)
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
FindNext
Same as FindNthNextOccurrence: the n-th occurrence after a position (forward; handles :Of/:StartingAt)aussi écrite: FindFirstNext
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.FindNext("tea", 2)
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
FindPrevious
nearest occurrence before a position (and its forward-indexed nth)aussi écrite: FindFirstPrevious
exemple composé
o1 = new stzListFinder(["a", "b", "a", "c", "a", "b"])
? o1.FindPrevious("tea", 2)
#--> 0
composé à partir de la signature, exécuté pour cette page
aucune extension
FindNextNthOccurrencesST
the listed nths (forward index) after / before a positionaucune extension
FindPreviousNthOccurrences
next / previous occurrence search (from a position)aucune extension