[ library(list_collection) | Reference Manual | Alphabetic Index ]

create(++Type, -LCOL)

Creates a list collection
A ground term
A list collection


        If (Type==hash) a LCOL internally uses a hashtable, this is useful when the number of lists is unknown.
        If (Type=array(Size)) where Size is a natural number, the LCOL internally uses an array to collect lists,
        the access to any of the lists is faster, but the Size has to be known in advance and only number 
        indexes can be used to identify lists. 0<Index=<Size.

Modes and Determinism


(5) type error
Not supported Type.

See Also

append_element / 3, terminate_all_lists / 2, get_list / 3