container/list.sh

Doubly linked list.

container_Element()

Construct an element of a list.

container_Element_next()

Get the next element.

container_Element_prev()

Get the previous element.

container_List()

Construct a doubly linked list.

container_List_back()

Return element at the back.

container_List_front()

Return element at the front.

container_List_init()

Init a list.

container_List_insert_after()

Insert a value after the marker element.

container_List_insert_before()

Insert a value before the marker element.

container_List_len()

Return length of a list.

container_List_move_after()

Move element after the given marker.

container_List_move_before()

Move element before the given marker.

container_List_move_to_back()

Move element to the back of the list.

container_List_move_to_front()

Move element to the front of the list.

container_List_push_back()

Push a value to the back of this list.

container_List_push_back_list()

Push one list at the end of another.

container_List_push_front()

Push a value to the front of this list.

container_List_push_front_list()

Push one list to the front of another.

container_List_remove()

Remove the given element from this list.