VecUIntList
Canonical path: NemAll_Python_Utility.VecUIntList
Methods:
-
__contains__
–Check for a value in the list
-
__delitem__
–Delete a list item
-
__eq__
–Compare two list
-
__getitem__
–Get a list item
-
__init__
–Overloaded function. See individual overloads.
-
__iter__
–List iterator
-
__len__
–Get the list length
-
__repr__
–Create a string from the values
-
__setitem__
–Set a list item
-
append
–Append a list item
-
extend
–Add the items from an iterable to the end of the list
__contains__
Check for a value in the list
Parameters:
-
value
(int
) –Value to check
Returns:
-
bool
–State for value is in the list
__eq__
__eq__(compare_list: list[int] | VecUIntList) -> bool
Compare two list
Parameters:
-
compare_list
(list[int] | VecUIntList
) –List to compare
Returns:
-
bool
–Lists are equal state
__getitem__
Get a list item
Parameters:
-
index
(int
) –Index of the item
Returns:
-
int
–Value for the index
__init__
overloaded
Initialize
Constructor with an initializer list
Parameters:
-
valueList
(list
) –Value list
__setitem__
Set a list item
Parameters:
-
index
(int | slice
) –Index of the item
-
value
(int
) –Value to item
extend
extend(iterable: list[int] | VecUIntList)
Add the items from an iterable to the end of the list
Parameters:
-
iterable
(list[int] | VecUIntList
) –Iterable to add