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

stzHashList

221 own methods · 191 forms written with extensions, listed under their method · Also inherits from stzList (848)

also named: stzAssociativeList

the source: base/list/stzHashList.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: 3 come from the library's tests; 65 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ]). 153 methods have none yet. Examples run on 2026-10-03 20:34 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
init
Build the hash list from [key, value] pairs (a list of pairs is auto-normalized).no extension
The raw hash list: the [key, value] pairs. 1 examples runalso written: HashList
o1 = new stzHashList([ [ "NAME", "Mansour"] , [ "AGE" , 45 ] ])
? @@( o1.Content() ) # Keys are automatically lowercased
#--> [ [ "name", "Mansour" ], [ "age", 45 ] ]
library testQCSXTZZZIBWU
NumberOfPairs
How many [key, value] pairs the hash list holds.also written: HowManyKey · HowManyKeys · HowManyPair · HowManyPairs · HowManyValue · NumberOfKeys · HowManyValues · NumberOfValues
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.NumberOfPairs()
#--> 3
composed from the signature, run for this page
QCSXTZZZIBWU
Pairs
The [key, value] pairs (same as Content).QCSXTZZZIBWUQRT
The keys of the hash list, as a list. 1 examples run
o1 = new stzHashList( [ :one = 1, :two = 2 ] )
? o1.Keys()
o1 = new stzHashList( [ ["one", 1], [ "two", 2] ] )
? o1.Keys()
#--> one
#--> two
#--> one
#--> two
library testQCSXTZZZIBWUQRT
KeysForValue
The keys whose value equals the given value.also written: KeysForThisValueQCSXTZZZIBWUQRT
Values
The values of the hash list, as a list.
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.Values() )
#--> [ "Aya", 30, "Niamey" ]
composed from the signature, run for this page
QCSXTZZZIBWUQRT
ValuesAreListsOfSameSize
TRUE if every value is a list and all have the same size.no extension
ValuesAndKeys
The pairs INVERTED: [value, key] for each pair.
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.ValuesAndKeys() )
#--> [ [ "Aya", "name" ], [ 30, "age" ], [ "Niamey", "city" ] ]
composed from the signature, run for this page
no extension
NthKey
The key of the nth pair.also written: Key · KeyAtPosition
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.NthKey(2)
#--> age
composed from the signature, run for this page
QCSXTZZZIBWU
NthValue
The value of the nth pair.also written: Value · ValueAtPosition
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.NthValue(2)
#--> 30
composed from the signature, run for this page
QCSXTZZZIBWU
FirstValue
The value of the first pair.
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.FirstValue()
#--> Aya
composed from the signature, run for this page
QCSXTZZZIBWU
LastValue
The value of the last pair.
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.LastValue()
#--> Niamey
composed from the signature, run for this page
QCSXTZZZIBWU
NthPair
The nth [key, value] pair.also written: Pair
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.NthPair(2) )
#--> [ "age", 30 ]
composed from the signature, run for this page
QCSXTZZZIBWUQRT
FirstPair
The first [key, value] pair.also written: FristPairQCSXTZZZIBWU
LastPair
The last [key, value] pair.QCSXTZZZIBWU
KeyInPair
The key part of the given [key, value] pair.also written: KeyInThisPairQCSXTZZZIBWU
ValueInPair
The value part of the given [key, value] pair.also written: ValueInThisPairQCSXTZZZIBWU
KeyInNthPair
The key of the nth pair.
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.KeyInNthPair(2)
#--> age
composed from the signature, run for this page
QCSXTZZZIBWU
ValueInInNthPair
The value of the nth pair.
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.ValueInInNthPair(2)
#--> 30
composed from the signature, run for this page
no extension
ValueInNthPairQ
The value of the nth pair, wrapped as a Q object.no extension
The value stored under the given key. 1 examples runalso written: ValueInKey · ValueOfKey · ValueOnKey · ValueInThisKey · ValueOfThisKey · ValueOnThisKey · ValueRelatedToKey · ValueRelatedToThisKey · ValueCorrespondingToKey · ValueCorrespondingToThisKey
o1 = new stzHashList([ :math = 18, :stats = 16, :history = 14 ])
? o1.ValueByKey(:stats)
? o1[:stats]
#--> 16
#--> 16
library testno extension
ValueIntByKey
The value under the given key, as an integer (engine map).
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.ValueIntByKey("a")
#--> 0
composed from the signature, run for this page
no extension
ValueFloatByKey
The value under the given key, as a float (engine map).
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.ValueFloatByKey("a")
#--> 0
composed from the signature, run for this page
no extension
ValueStringByKey
The value under the given key, as a string (engine map).no extension
NumberOfOccurrenceOfValue
How many pairs hold the given value.also written: HowManyOccurrenceOfValue · HowManyOccurrencesOfValue · NumberOfOccurrencesOfValue · HowManyOccurrenceOfThisValue · HowManyOccurrencesOfThisValue · NumberOfOccurrenceOfThisValue · NumberOfOccurrencesOfThisValue
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.NumberOfOccurrenceOfValue("Aya")
#--> 1
composed from the signature, run for this page
QCSXTZZZIBWU
UniqueValues
The distinct values of the hash list.also written: ValuesWithoutDuplication
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.ValuesWithoutDuplication() )
#--> [ "Aya", 30, "Niamey" ]
composed from the signature, run for this page
no extension
ValuesAtPositions
The values of the pairs at the given positions.also written: ValuesAtThesePositions
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.ValuesAtPositions([ 1, 2 ]) )
#--> [ "Aya", 30 ]
composed from the signature, run for this page
no extension
Update
Replace the whole content with the given hash list (mutating; the single update point).QCSXTZZZIBWU
UpdateWith
Same as Update: replace the whole content (mutating).QCSXTZZZIBWU
UpdateBy
Same as Update: replace the whole content (mutating).QCSXTZZZIBWU
UpdateUsing
Same as Update: replace the whole content (mutating).QCSXTZZZIBWU
Updated
The value the hash list would be updated to (passive twin of Update).also written: UpdatedBy · UpdatedWith · UpdatedUsing
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.Updated([ 2, 3 ]) )
#--> [ 2, 3 ]
composed from the signature, run for this page
no extension
UpdateNthPair
Replace the nth pair with the given [key, value] pair (mutating).no extension
UpdatePair
Replace the given pair with the new one (mutating).no extension
UpdateNthKey
Replace the KEY of the nth pair (mutating).
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.UpdateNthKey(2, "a")
? @@( o1.Content() )
#--> [ [ "name", "Aya" ], [ "a", 30 ], [ "city", "Niamey" ] ]
composed from the signature, run for this page
no extension
UpdateKey
Rename the given key (mutating).no extension
UpdateKeys
Replace the keys with the given ones, in order (mutating).no extension
UpdateNthValue
Replace the VALUE of the nth pair (mutating).
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.UpdateNthValue(2, "Aya")
? @@( o1.Content() )
#--> [ [ "name", "Aya" ], [ "age", "Aya" ], [ "city", "Niamey" ] ]
composed from the signature, run for this page
no extension
UpdateNthOccurrenceOfValue
Replace the nth occurrence of the value with the new one (mutating).no extension
UpdateValues
Replace the values with the given ones, in order (mutating).no extension
UpdateValue
Replace every occurrence of the given value with the new one (mutating).no extension
UpdateFirstOccurrenceOfValue
Replace only the FIRST occurrence of the value (mutating).no extension
UpdateFirstValue
Same as UpdateFirstOccurrenceOfValue: Replace only the FIRST occurrence of the value (mutating).no extension
UpdateLastValue
Replace only the LAST occurrence of the value (mutating).no extension
UpdateAllPairsWith
Replace every pair with the given [key, value] pair (mutating).no extension
ReverseKeysAndValues
reversing keys and values
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.ReverseKeysAndValues()
? @@( o1.Content() )
#--> [ [ "Aya", "name" ], [ "30", "age" ], [ "Niamey", "city" ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
AddPair
Add the given [key, value] pair at the end (mutating).QCSXTZZZIBWU
Add
Same as AddPair: Add the given [key, value] pair at the end (mutating).QCSXTZZZIBWUMany
AddPairs
Add each of the given pairs at the end (mutating).QCSXTZZZIBWU
AddManyPairs
Same as AddPairs: Add each of the given pairs at the end (mutating).QCSXTZZZIBWU
InsertBefore
Insert the given pair BEFORE position n (mutating).QCSXTZZZIBWUWF
InsertAfter
Insert the given pair AFTER position n (mutating).QCSXTZZZIBWUWF
RemoveNthPair
Remove the nth pair (mutating).
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.RemoveNthPair(2)
? @@( o1.Content() )
#--> [ [ "name", "Aya" ], [ "city", "Niamey" ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
RemovePair
Remove the given [key, value] pair (mutating).QCSXTZZZIBWU
RemovePairByKey
Remove the pair holding the given key (mutating).QCSXTZZZIBWU
RemoveByKey
Same as RemovePairByKey: Remove the pair holding the given key (mutating).QCSXTZZZIBWU
RemovePairsByKeys
Remove the pairs holding any of the given keys (mutating).no extension
RemovePairsByValue
Remove every pair holding the given value (mutating).
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.RemovePairsByValue("Aya")
? @@( o1.Content() )
#--> [ [ "age", 30 ], [ "city", "Niamey" ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
RemovePairsByValues
Remove every pair holding any of the given values (mutating).no extension
ReplaceKey
Same as UpdateKey: rename the given key (mutating).QCSXTZZZIBWU
ReplaceNthKey
Replace the key of the nth pair (mutating).
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.ReplaceNthKey(2, "AN")
? @@( o1.Content() )
#--> [ [ "name", "Aya" ], [ "AN", 30 ], [ "city", "Niamey" ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
ReplaceFirstKey
Replace the key of the first pair (mutating).
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.ReplaceFirstKey("AN")
? @@( o1.Content() )
#--> [ [ "AN", "Aya" ], [ "age", 30 ], [ "city", "Niamey" ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
ReplaceLastKey
Replace the key of the last pair (mutating).
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.ReplaceLastKey("AN")
? @@( o1.Content() )
#--> [ [ "name", "Aya" ], [ "age", 30 ], [ "AN", "Niamey" ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
ReplaceValue
Replace the first occurrence of the given value (mutating).QCSXTZZZIBWU
ReplaceNthValue
Replace the value of the nth pair (mutating).
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.ReplaceNthValue(2, 5)
? @@( o1.Content() )
#--> [ [ "name", "Aya" ], [ "age", 5 ], [ "city", "Niamey" ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
SetValueAt
NOTE // Normally Set... does not belong to Softanza semantics, we use Replace instead. Here I use to cope with AI-generated code which tend to be alligned with the Set keyword
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.SetValueAt(2, 5)
? @@( o1.Content() )
#--> [ [ "name", "Aya" ], [ "age", 5 ], [ "city", "Niamey" ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
ReplaceFirstValue
Replace the value of the first pair (mutating).
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.ReplaceFirstValue(2)
? @@( o1.Content() )
#--> [ [ "name", 2 ], [ "age", 30 ], [ "city", "Niamey" ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
ReplaceLastValue
Replace the value of the last pair (mutating).
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
o1.ReplaceLastValue(2)
? @@( o1.Content() )
#--> [ [ "name", "Aya" ], [ "age", 30 ], [ "city", 2 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
ReplaceValueByKey
Replace the value stored under the given key (mutating).QCSXTZZZIBWU
ReplaceByKey
Same as ReplaceValueByKey: Replace the value stored under the given key (mutating).QCSXTZZZIBWU
ReplacePair
Replace the given pair with the new one (mutating).QCSXTZZZIBWU
ReplacePairByKey
Replace the whole pair holding the given key (mutating).QCSXTZZZIBWU
ReplacePairsW
Conditional pair replacement (reserved: not yet implemented).no extension
FindKeys
The positions of the given keys.also written: FindTheseKeysno extension
FindKey
The position of the given key (0 if none).also written: FindThisKey
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.FindKey("a")
#--> 0
composed from the signature, run for this page
no extension
HasKey
TRUE if the hash list holds the given key.also written: ContainsKey
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.ContainsKey("a")
#--> 0
composed from the signature, run for this page
no extension
HasKeys
TRUE if the hash list holds ALL the given keys.also written: ContainsKeys
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.ContainsKeys([ 2, 3 ])
#--> 0
composed from the signature, run for this page
no extension
FindPair
The position of the given [key, value] pair (0 if none).no extension
ContainsPair
TRUE if the hash list holds the given pair.no extension
ContainsValue
WITHOUT CASESENSITIVE TRUE if some pair holds the given value.also written: ValueExists · ThisValueExists · ContainsThisValue
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.ContainsValue("Aya")
#--> 1
composed from the signature, run for this page
QCSXTZZZIBWU
ContainsValues
WITHOUT CASESENSITIVE TRUE if the given values all occur.also written: ValuesExist · TheseValueExist
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.ContainsValues([ 2, 3 ])
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWU
ContainsTheseValues
Same as ContainsValues: WITHOUT CASESENSITIVE TRUE if the given values all occur.QCSXTZZZIBWU
WITHOUT CASESENSITIVITY The positions of the pairs holding the given value. 1 examples runalso written: Find · FindAllOccurrencesOfValue
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.FindValue("Aya") )
#--> [ 1 ]
composed from the signature, run for this page
QCSXTZZZIBWUMany
The positions of the given value (works for item-style lookups too). 1 examples runalso written: FindVitem
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.FindValueOrItem("Aya") )
#--> [ 1 ]
composed from the signature, run for this page
no extension
WITHOUT CASESENSITIVITY The positions of the pairs holding any of the given values. 2 examples runalso written: FindThese · FindManyValues · FindTheseValuesQCSXTZZZIBWU
FindNthOccurrenceOfValue
WITHOUT CASESENSITIVITY The position of the nth pair holding the given value.also written: FindNth · FindNthValueQCSXTZZZIBWU
FindFirstOccurrenceOfValue
Same as FindNthValue: Same as FindNthOccurrenceOfValue: WITHOUT CASESENSITIVITY The position of the nth pair holding the given value.also written: FindFirst · FindFrist · FindFirstValue · FindFristValue · FindFristOccurrenceOfValue
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.FindFirstOccurrenceOfValue("Aya")
#--> 1
composed from the signature, run for this page
no extension
FindLastOccurrenceOfValue
(no comment in the source: the name reads as a sentence) find last occurrence of valuealso written: FindLast · FindLastValuein the section finding the nth occurrence of a valueno extension
FindKeysByValue
(no comment in the source: the name reads as a sentence) find keys by valuein the section finding the nth occurrence of a value
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.FindKeysByValue("Aya") )
#--> [ 1 ]
composed from the signature, run for this page
no extension
FindNthKeyByValue
(no comment in the source: the name reads as a sentence) find nth key by valuein the section finding the nth occurrence of a value
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.FindNthKeyByValue(2, "Aya")
#--> 0
composed from the signature, run for this page
no extension
FindFirstKeyByValue
(no comment in the source: the name reads as a sentence) find first key by valuealso written: FindKeyByValue · FindFristKeyByValuein the section finding the nth occurrence of a value
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.FindFirstKeyByValue("Aya")
#--> 1
composed from the signature, run for this page
no extension
FindLastKeyByValue
(no comment in the source: the name reads as a sentence) find last key by valuein the section finding the nth occurrence of a value
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.FindLastKeyByValue("Aya")
#--> name
composed from the signature, run for this page
no extension
KeyByValue
(no comment in the source: the name reads as a sentence) key by valuein the section finding the nth occurrence of a value
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.KeyByValue("Aya")
#--> name
composed from the signature, run for this page
no extension
KeysByValue
(no comment in the source: the name reads as a sentence) keys by valuein the section finding the nth occurrence of a value
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.KeysByValue("Aya") )
#--> [ "name" ]
composed from the signature, run for this page
no extension
KeysByValues
getting the keys corresponding to the provided valuesno extension
KeysAtPositions
getting the keys at the provided positionsalso written: KeysAtThesePositions
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.KeysAtPositions([ 2, 3 ]) )
#--> [ "age", "city" ]
composed from the signature, run for this page
no extension
FindLists
(no comment in the source: the name reads as a sentence) find listsin the section finding lists (values that are lists)no extension
FindNonLists
(no comment in the source: the name reads as a sentence) find non listsin the section finding lists (values that are lists)
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.FindNonLists() )
#--> [ 1, 2, 3 ]
composed from the signature, run for this page
no extension
Lists
(no comment in the source: the name reads as a sentence) listsin the section finding lists (values that are lists)QCSXTZZZIBWU
FindList
(no comment in the source: the name reads as a sentence) find listin the section finding lists (values that are lists)no extension
FindTheseLists
(no comment in the source: the name reads as a sentence) find these listsin the section finding lists (values that are lists)no extension
TheseListsZ
(no comment in the source: the name reads as a sentence) these lists zin the section finding lists (values that are lists)no extension
FindNumbers
finding numbers (values that are numbers)
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.FindNumbers() )
#--> [ 2 ]
composed from the signature, run for this page
QCSXTZZZIBWU
Numbers
finding numbers (values that are numbers)
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.Numbers() )
#--> [ 30 ]
composed from the signature, run for this page
QCSXTZZZIBWU
FindNumber
finding numbers (values that are numbers)no extension
NumberZ
finding numbers (values that are numbers)no extension
FindTheseNumbers
finding numbers (values that are numbers)no extension
TheseNumbersZ
finding numbers (values that are numbers)no extension
FindStrings
finding strings (values that are string)
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.FindStrings() )
#--> [ 1, 3 ]
composed from the signature, run for this page
no extension
Strings
finding strings (values that are string)
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.Strings() )
#--> [ "Aya", "Niamey" ]
composed from the signature, run for this page
QCSXTZZZIBWUWF
FindString
finding strings (values that are string)no extension
StringZ
finding strings (values that are string)no extension
FindTheseStrings
finding strings (values that are string)no extension
TheseStringsZ
finding strings (values that are string)no extension
FindObjects
finding objects (values that are objects)QCSXTZZZIBWU
Objects
finding objects (values that are objects)QCSXTZZZIBWU
finding stzlists (values that are stzlist objects) 1 examples runno extension
StzLists
finding stzlists (values that are stzlist objects)no extension
FindStzHashLists
finding stzhashlists (values that are stzhashlists)no extension
StzHashLists
finding stzhashlists (values that are stzhashlists)no extension
finding stznumbers (values that are stznumbers) 1 examples runno extension
StzNumbers
finding stznumbers (values that are stznumbers)no extension
finding stzstrings (values that are stzstrings) 1 examples runno extension
StzStrings
finding stzstrings (values that are stzstrings)no extension
finding stzobjects (values that are stzobjects) 1 examples runno extension
StzObjects
finding stzobjects (values that are stzobjects)no extension
ContainsItem
SEMANTIC NOTE: An "Item" in the context of stzHashList, refers to values that are lists, and those lists contain the item. See examples hereafter.also written: ContainsSubValue · ContainsInnerValue
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.ContainsItem("Aya")
#--> 0
composed from the signature, run for this page
no extension
(no comment in the source: the name reads as a sentence) find item 2 examples runalso written: FindInList · FindInLists · FindInValues · FindThisItem · FindItemInList · FindItemInLists · FindThisItemInList · FindThisItemInListsin the section when the value is a list, finding the given item inside that tlistno extension
(no comment in the source: the name reads as a sentence) find these items 2 examples runalso written: FindTheseInList · FindTheseInLists · FindTheseItemsInList · FindTheseItemsInListsin the section when the value is a list, finding the given item inside that tlistno extension
(no comment in the source: the name reads as a sentence) these items z 1 examples runalso written: TheseItemsInListZ · TheseItemsInListsZin the section when the value is a list, finding the given item inside that tlist
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.TheseItemsZ([ 2, 3 ]) )
#--> [ [ 2, [ ] ], [ 3, [ ] ] ]
composed from the signature, run for this page
QCSXTZZZIBWUQRT
(no comment in the source: the name reads as a sentence) items 1 examples runin the section when the value is a list, finding the given item inside that tlistQCSXTZZZIBWUWFExcept
(no comment in the source: the name reads as a sentence) find items 1 examples runin the section when the value is a list, finding the given item inside that tlist
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.FindItems() )
#--> [ [ 1, 1 ], [ 2, 1 ], [ 3, 1 ] ]
composed from the signature, run for this page
QCSXTZZZIBWUWF
NumberOfItems
(no comment in the source: the name reads as a sentence) number of itemsin the section when the value is a list, finding the given item inside that tlist
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.NumberOfItems()
#--> 0
composed from the signature, run for this page
QCSXTZZZIBWUWF
FindNthItem
when the value is a list, finding the nth occurrence of an item inside that listalso written: FindNthOccurrenceOfItemInList
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.FindNthItem(2, "Aya")
#--> 0
composed from the signature, run for this page
no extension
FindFirstItem
(no comment in the source: the name reads as a sentence) find first itemalso written: FindFristItem · FindThisFirstItem · FindThisFristItem · FindFirstOccurrenceOfThisItem · FindFristOccurrenceOfThisItem · FindFirstOccurrenceOfItemInList · FindFristOccurrenceOfItemInList · FindFirstOccurrenceOfThisItemInList · FindFristOccurrenceOfThisItemInListin the section when the value is a list, finding the first occurrence of an item inside that list
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.FindFirstItem("Aya")
#--> 0
composed from the signature, run for this page
no extension
FindLastItem
when the value is a list, finding the last occurrence of an item inside that listalso written: FindThislastItem · FindLastOccurrenceOfThisItem · FindLastOccurrenceOfItemInList · FindLastOccurrenceOfThisItemInListno extension
FindKeysByItem
(no comment in the source: the name reads as a sentence) find keys by itemalso written: FindKeysByItemInListin the section when the values are lists, finding a given item inside those listsno extension
NumberOfKeysByItemInList
(no comment in the source: the name reads as a sentence) number of keys by item in listalso written: HowManyKeysByItem · NumberOfKeysByItem · HowManyKeyByItemInList · HowManyKeysByItemInListin the section when the values are lists, finding a given item inside those lists
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.NumberOfKeysByItemInList("Aya")
#--> 0
composed from the signature, run for this page
no extension
FindFirstKeyByItemInList
(no comment in the source: the name reads as a sentence) find first key by item in listalso written: FindKeyByItem · FindFirstKeyByItem · FindKeyByItemInList · FindFristKeyByItemInListin the section when the values are lists, finding a given item inside those listsno extension
FindLastKeyByItemInList
(no comment in the source: the name reads as a sentence) find last key by item in listalso written: FindLastKeyByItemin the section when the values are lists, finding a given item inside those listsno extension
KeyByItemInList
(no comment in the source: the name reads as a sentence) key by item in listalso written: KeyByItemin the section when the values are lists, finding a given item inside those listsno extension
KeysByItemInList
(no comment in the source: the name reads as a sentence) keys by item in listin the section when the values are lists, finding a given item inside those listsno extension
KeysByItem
(no comment in the source: the name reads as a sentence) keys by itemin the section when the values are lists, finding a given item inside those listsno extension
Copy
listifying (all the values in) the hashlistno extension
Listify
listifying (all the values in) the hashlistQCSXTZZZIBWU
Listified
listifying (all the values in) the hashlist
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.Listified() )
#--> [ [ "name", [ "Aya" ] ], [ "age", [ 30 ] ], [ "city", [ "Niamey" ] ] ]
composed from the signature, run for this page
no extension
Classify
Group the pairs into classes by value.QCSXTZZZIBWUQRT
Classes
getting the names of klasses existing in the hashlistalso written: Klasses
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? @@( o1.Classes() )
#--> [ "Aya", "30", "Niamey" ]
composed from the signature, run for this page
QCSXTZZZIBWUQRT
ContainsClass
(no comment in the source: the name reads as a sentence) contains classalso written: ClassExists · KlassExists · ContainsKlass · ThisClassExists · ThisKlassExists · ContainsThisClass · ContainsThisKlassin the section checking if the hashlist contains the given class
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.ContainsClass("a")
#--> 0
composed from the signature, run for this page
no extension
ContainsClasses
(no comment in the source: the name reads as a sentence) contains classesalso written: ClassesExist · KlassesExist · ContainsKlasses · TheseClassesExist · TheseKlassesExist · ContainsTheseClasses · ContainsTheseKlassesin the section checking if the hashlist contains the given classes
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.ContainsClasses([ 2, 3 ])
#--> 0
composed from the signature, run for this page
no extension
NumberOfClasses
getting number of klasses (or categories) in the hashlistalso written: HowManyClass · HowManyKlass · HowManyClasses · HowManyKlasses · NumberOfKlasses · NumberOfCategories
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.NumberOfClasses()
#--> 3
composed from the signature, run for this page
no extension
Klass
(no comment in the source: the name reads as a sentence) klassalso written: ClassValues · KlassValues · ClassContent · KlassContent · ValuesInClass · ValuesInKlass · ContentOfClass · ContentOfKlassin the section getting the values related to a given klassQCSXTZZZIBWUQRT
ClassQ
We can't use Class() as an alternative, because it is reserved by Haro But we can use it for the follwoing fluent forms:no extension
ClassQRT
(no comment in the source: the name reads as a sentence) class qrtin the section getting the values related to a given klassno extension
NumberOfValuesInClass
Adding ...This...() to the all the names abovealso written: ClassSize · KlassSize · SizeOfClass · SizeOfKlass · SizeOfThisClass · SizeOfThisKlass · HowManyValueInClass · HowManyValueInKlass · HowManyValuesInClass · HowManyValuesInKlass · NumberOfValuesInKlass · HowManyValueInThisClass · HowManyValueInThisKlass · HowManyValuesInThisClass · HowManyValuesInThisKlass · NumberOfValuesInThisKlassin the section getting the number of values in a klassno extension
ClassesSizes
(no comment in the source: the name reads as a sentence) classes sizesalso written: KlassesSizes · NumberOfValuesInAllClasses · NumberOfValuesInAllKlassesin the section getiing sizes of all classesQCSXTZZZIBWU
ClassesAndTheirSizes
(no comment in the source: the name reads as a sentence) classes and their sizesin the section getiing sizes of all classesno extension
KlassesAndTheirSizes
(no comment in the source: the name reads as a sentence) klasses and their sizesin the section getiing sizes of all classesno extension
TheseClassesSizes
(no comment in the source: the name reads as a sentence) these classes sizesalso written: TheseKlassesSizes · SizesOfTheseClasses · SizesOfTheseKlasses · NumberOfValuesInTheseClasses · NumberOfValuesInTheseKlasses · NumbersOfValuesInTheseClasses · NumbersOfValuesInTheseKlassesin the section getiing sizes of the given classesQCSXTZZZIBWU
KlassFreq
(no comment in the source: the name reads as a sentence) klass freqalso written: ClassFreq · ClassFrequency · KlassFrequency · FreqOfThisClass · FreqOfThisKlass · FrequencyOfThisClass · FrequencyOfThisKlassin the section getting the frequency of the given classQCSXTZZZIBWU
ClassAndItsFrequency
(no comment in the source: the name reads as a sentence) class and its frequencyin the section getting the frequency of the given classno extension
KlassAndItsFrequency
(no comment in the source: the name reads as a sentence) klass and its frequencyin the section getting the frequency of the given classno extension
ClassAndItsFreq
(no comment in the source: the name reads as a sentence) class and its freqin the section getting the frequency of the given classno extension
KlassAndItsFreq
(no comment in the source: the name reads as a sentence) klass and its freqin the section getting the frequency of the given classno extension
ClassesFrequencies
(no comment in the source: the name reads as a sentence) classes frequenciesalso written: ClassesFreq · KlassesFreq · ClassesFreqs · KlassesFreqs · KlassesFrequenciesin the section getting the frequencies of all classesQCSXTZZZIBWU
ClassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) classes and their frequenciesin the section getting the frequencies of all classesno extension
KlassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) klasses and their frequenciesin the section getting the frequencies of all classesno extension
KlassesAndTheirFreq
(no comment in the source: the name reads as a sentence) klasses and their freqin the section getting the frequencies of all classesno extension
KlassesAndTheirFreqs
(no comment in the source: the name reads as a sentence) klasses and their freqsin the section getting the frequencies of all classesno extension
TheseClassesFrequencies
(no comment in the source: the name reads as a sentence) these classes frequenciesalso written: TheseClassesFreq · TheseKlassesFreq · TheseClassesFreqs · TheseKlassesFreqs · TheseKlassesFrequenciesin the section getting the frequencies of the given classesQCSXTZZZIBWU
TheseClassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) these classes and their frequenciesin the section getting the frequencies of the given classesno extension
TheseKlassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) these klasses and their frequenciesin the section getting the frequencies of the given classesno extension
TheseClassesAndTheirFreqs
(no comment in the source: the name reads as a sentence) these classes and their freqsin the section getting the frequencies of the given classesno extension
TheseKlassesAndTheirFreqs
(no comment in the source: the name reads as a sentence) these klasses and their freqsin the section getting the frequencies of the given classesno extension
TheseClassesAndTheirFreq
(no comment in the source: the name reads as a sentence) these classes and their freqin the section getting the frequencies of the given classesno extension
TheseKlassesAndTheirFreq
(no comment in the source: the name reads as a sentence) these klasses and their freqin the section getting the frequencies of the given classesno extension
NStrongestClasses
(no comment in the source: the name reads as a sentence) n strongest classesalso written: NTopClasses · TopNClasses · NStrongestKlasses · StrongestNClasses · StrongestNKlassesin the section getting the n strongest classesQCSXTZZZIBWU
NStrongestKlassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) n strongest klasses and their frequenciesin the section getting the n strongest classesno extension
StrongestNClassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) strongest n classes and their frequenciesin the section getting the n strongest classesno extension
StrongestNKlassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) strongest n klasses and their frequenciesin the section getting the n strongest classesno extension
TopNClassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) top n classes and their frequenciesin the section getting the n strongest classesno extension
NTopClassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) n top classes and their frequenciesin the section getting the n strongest classesno extension
StrongestClass
(no comment in the source: the name reads as a sentence) strongest classalso written: TopClass · TopKlass · StrongestKlassin the section getting the n strongest classesQCSXTZZZIBWU
StrongestClassAndTheirFrequencies
(no comment in the source: the name reads as a sentence) strongest class and their frequenciesin the section getting the n strongest classesno extension
StrongestKlassAndTheirFrequencies
(no comment in the source: the name reads as a sentence) strongest klass and their frequenciesin the section getting the n strongest classesno extension
TopClassAndTheirFrequencies
(no comment in the source: the name reads as a sentence) top class and their frequenciesin the section getting the n strongest classesno extension
TopKlassAndTheirFrequencies
(no comment in the source: the name reads as a sentence) top klass and their frequenciesin the section getting the n strongest classesno extension
Top3Classes
(no comment in the source: the name reads as a sentence) top3 classesalso written: 3StrongestKlasses · Strongest3Klassesin the section getting the n strongest classesQCSXTZZZIBWU
Strongest3Classes
(no comment in the source: the name reads as a sentence) strongest3 classesin the section getting the n strongest classesQCSXTZZZIBWU
Top3ClassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) top3 classes and their frequenciesin the section getting the n strongest classesno extension
3StrongestKlassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) 3 strongest klasses and their frequenciesin the section getting the n strongest classesno extension
Strongest3ClassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) strongest3 classes and their frequenciesin the section getting the n strongest classesno extension
Strongest3KlassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) strongest3 klasses and their frequenciesin the section getting the n strongest classesno extension
NWeakestClasses
(no comment in the source: the name reads as a sentence) n weakest classesalso written: BottomNClasses · NBottomClasses · NWeakestKlasses · WeakestNClasses · WeakestNKlassesin the section getting the n weakest classesQCSXTZZZIBWU
NWeakestClassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) n weakest classes and their frequenciesin the section getting the n weakest classesno extension
WeakestNClassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) weakest n classes and their frequenciesin the section getting the n weakest classesno extension
NWeakestKlassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) n weakest klasses and their frequenciesin the section getting the n weakest classesno extension
WeakestNKlassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) weakest n klasses and their frequenciesin the section getting the n weakest classesno extension
BottomNClassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) bottom n classes and their frequenciesin the section getting the n weakest classesno extension
NBottomClassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) n bottom classes and their frequenciesin the section getting the n weakest classesno extension
WeakestClass
(no comment in the source: the name reads as a sentence) weakest classalso written: BottomClass · BottomKlass · WeakestKlassin the section getting the n weakest classesQCSXTZZZIBWU
WeakestClassAndItsFrequency
(no comment in the source: the name reads as a sentence) weakest class and its frequencyin the section getting the n weakest classesno extension
WeakestKlassAndItsFrequency
(no comment in the source: the name reads as a sentence) weakest klass and its frequencyin the section getting the n weakest classesno extension
Bottom3Classes
(no comment in the source: the name reads as a sentence) bottom3 classesalso written: 3WeakestKlasses · Weakest3Klassesin the section getting the n weakest classesQCSXTZZZIBWU
Weakest3Classes
(no comment in the source: the name reads as a sentence) weakest3 classesin the section getting the n weakest classesQCSXTZZZIBWU
3WeakestKlassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) 3 weakest klasses and their frequenciesin the section getting the n weakest classesno extension
Weakest3ClassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) weakest3 classes and their frequenciesin the section getting the n weakest classesno extension
Weakest3KlassesAndTheirFrequencies
(no comment in the source: the name reads as a sentence) weakest3 klasses and their frequenciesin the section getting the n weakest classesno extension
ClassesInList
(no comment in the source: the name reads as a sentence) classes in listalso written: KlassesInList · ClassesInLists · KlassesInListsin the section classifying values inside listsQCSXTZZZIBWUQRT
(no comment in the source: the name reads as a sentence) number of classes in list 1 examples runalso written: HowManyClassInList · HowManyKlassInList · HowManyClassInLists · HowManyKlassInLists · NumberOfCategInList · HowManyClassesInList · HowManyKlassesInList · HowManyClassesInLists · HowManyKlassesInLists · NumberOfKlassesInList · NumberOfClassesInLists · NumberOfKlassesInLists · NumberOfCategoriesInListin the section getting the number of klasses in list
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.NumberOfClassesInList()
#--> 0
composed from the signature, run for this page
no extension
(no comment in the source: the name reads as a sentence) classify in list 1 examples runalso written: KlassifyInList · ClassifyInLists · KlassifyInLists · ClassifyItemsInList · KlassifyItemsInList · ClassifyItemsInLists · KlassifyItemsInListsin the section getting the number of klasses in listQCSXTZZZIBWUQRT
KlassInList
(no comment in the source: the name reads as a sentence) klass in listalso written: ClassInList · ClassInLists · KalssInListsin the section getting the values related to a klass-in-listQCSXTZZZIBWUQRT
KalssInListQ
(no comment in the source: the name reads as a sentence) kalss in list qin the section getting the values related to a klass-in-listno extension
Show
Print the hash list as a boxed table.no extension
Shwo
Same as Show: Print the hash list as a boxed table.
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.Shwo()
#--> ╭──────┬────────╮
#--> │ Name │  Aya   │
#--> ├──────┼────────┤
#--> │ age  │     30 │
#--> ...
composed from the signature, run for this page
no extension
StzType
The Softanza type symbol: :stzHashList.
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.StzType()
#--> stzhashlist
composed from the signature, run for this page
no extension
IsHashList
Always TRUE: the object IS a hash list.
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.IsHashList()
#--> 1
composed from the signature, run for this page
no extension
ToCode
The hash list as runnable Haro code, as a string.
composed example
o1 = new stzHashList([ :name = "Aya", :age = 30, :city = "Niamey" ])
? o1.ToCode()
#--> [ :name = "Aya", :age = "30", :city = "Niamey" ]
composed from the signature, run for this page
no extension
operator
The operator overloads of the hash list ([] = value by key, ...).no extension
ToStzTable
transforming the hashlist into a stztableno extension
List
List() alias The raw Haro list content (same as Content).defined in stzList; its extensions hereQCSXTZZZIBWU
getting the nth item in the listdefined in stzList; its extensions hereQCSXTZZZIBWUWF