ReinforcementLabelList
Canonical path: NemAll_Python_Reinforcement.ReinforcementLabelList
List for ReinforcementLabel objects
__contains__
__contains__(value: ReinforcementLabel) -> bool
Check for a value in the list
Parameters:
-
value
(ReinforcementLabel
) –Value to check
Returns:
-
bool
–State for value is in the list
__delitem__
__delitem__(value: ReinforcementLabel)
__eq__
__eq__(compare_list: ReinforcementLabelList) -> bool
Compare two lists
Parameters:
-
compare_list
(ReinforcementLabelList
) –List to compare
Returns:
-
bool
–Lists are equal state
__getitem__
__getitem__(index: int) -> ReinforcementLabel
Get a list item
Parameters:
-
index
(int
) –Index of the item
Returns:
-
ReinforcementLabel
–Value for the index
__iadd__
__iadd__(eleList: list) -> ReinforcementLabelList
Add a list
Parameters:
-
eleList
(list
) –ReinforcementLabel list
Returns:
-
ReinforcementLabelList
–Lists with the added elements
__init__
overloaded
Initialize
__init__(ele: ReinforcementLabel)
Constructor with a list of ReinforcementLabel
Parameters:
-
eleList
(list
) –ReinforcementLabel list
__setitem__
__setitem__(index: int | slice, value: ReinforcementLabel)
Set a list item
Parameters:
-
index
(int | slice
) –Index of the item
-
value
(ReinforcementLabel
) –Value to item
append
append(value: ReinforcementLabel)
extend
overloaded
extend(iterable: ReinforcementLabelList)
Add the items from an iterable to the end of the list
Parameters:
-
iterable
(ReinforcementLabelList
) –Iterable to add
Extend the list
Parameters:
-
eleList
(list
) –ReinforcementLabel list
Placeholder