Skip to content

ReinforcementLabelList

Canonical path: NemAll_Python_Reinforcement.ReinforcementLabelList

List for ReinforcementLabel objects

__contains__

__contains__(value: ReinforcementLabel) -> bool

Check for a value in the list

Parameters:

Returns:

  • bool

    State for value is in the list

__delitem__

__delitem__(value: ReinforcementLabel)

Delete a list item

Parameters:

__eq__

__eq__(compare_list: ReinforcementLabelList) -> bool

Compare two lists

Parameters:

Returns:

  • bool

    Lists are equal state

__getitem__

__getitem__(index: int) -> ReinforcementLabel

Get a list item

Parameters:

  • index (int) –

    Index of the item

Returns:

__iadd__

__iadd__(eleList: list) -> ReinforcementLabelList

Add a list

Parameters:

  • eleList (list) –

    ReinforcementLabel list

Returns:

__init__ overloaded

__init__()

Initialize

__init__(ele: ReinforcementLabel)

Constructor with a ReinforcementLabel

Parameters:

__init__(eleList: list)

Constructor with a list of ReinforcementLabel

Parameters:

  • eleList (list) –

    ReinforcementLabel list

__iter__

__iter__() -> Iterator

List iterator

Returns:

  • Iterator

    List iterator

__len__

__len__() -> int

Get the list length

Returns:

  • int

    Length of the list

__repr__

__repr__() -> str

Create a string from the elements of the list

__setitem__

__setitem__(index: int | slice, value: ReinforcementLabel)

Set a list item

Parameters:

append

append(value: ReinforcementLabel)

Append a list item

Parameters:

extend overloaded

extend(iterable: ReinforcementLabelList)

Add the items from an iterable to the end of the list

Parameters:

extend(eleList: list)

Extend the list

Parameters:

  • eleList (list) –

    ReinforcementLabel list

Placeholder