Collection Library



BACK

Peeks the value of a tail of a list, overridable for referenced usertype and class instance 


CLEAR

Clears a list or a dictionary, overridable for referenced usertype and class instance

Elements = list("Ca","Na")

clear(Elements)

CLONE

Clones a collection, or a referenced usertype


DICT

Creates a dictionary


EXISTS

Tells whether a list contains a specific value (not index), or whether a dictionary contains a specific key, overridable for referenced usertype and class instance


GET

Returns the value of a specific index in a list, or the value of a specific key in a dictionary, or a member of a class instance, overridable for referenced usertype and class instance


INDEX_OF

Gets the index of a value in a list, overridable for referenced usertype and class instance


INSERT

Inserts a value at a specific position of a list, overridable for referenced usertype and class instance


ITERATOR

Gets an iterator of a list or a dictionary, overridable for referenced usertype and class instance 


LIST

Creates a list

A list can contain different types of 

Elements1 = list()

Elements2 = list("Ca","Na")

Elements3 = list("Ca", 1,"Na")

Elements4 = list(1,Elements2, 3)

MOVE_NEXT

Moves an iterator to next position for a list or a


POP

Pops a value from the tail of a list, overridable for referenced usertype and class instance


PUSH

Pushes a value to the tail of a list, overridable for referenced usertype and class instance

Elements = list()

push(Elements, "Cd")


REMOVE

Removes the element of a specific index in a list, or the element of a specific key in a dictionary, overridable for referenced usertype and class instance 


SET

Sets the value of a specific index in a list, or the value of a specific key in a dictionary, or a member variable of a class instance, overridable for referenced usertype and class instance


SORT

Sorts a list increasingly, overridable for referenced usertype and class instance


TO_ARRAY

Copies all elements from a list to an array dictionary, overridable for referenced usertype and class instance