Methods

makeRange ( -- range )  creates a range that points to all entries of the list

clear ( -- )  deletes all entries from the list

empty ( -- condition )  checks if the list is empty

endIter ( -- iterator )  returns an “end” iterator

eraseIter ( iterator -- )  deletes an entry from the list by its iterator

first ( -- value )  returns the first element of the list

firstIter ( -- iterator )  returns an iterator pointing to the first entry of the list

last ( -- iterator )  returns the last element of the list

lastIter ( -- iterator )  returns an iterator pointing to the last entry of the list

popBack ( -- )  deletes the last entry from the list

popFront ( -- )  deletes the first entry from the list

pushBack ( value -- )  appends a value to the end of the list

pushFront ( value -- )  appends a value to the beginning of the list

single ( -- condition )  checks if there is exactly one entry in the list

Free functions

enum ( list body -- )  enumerates all entries using an input function with the possibility to interrupt

enumIter ( list body -- )  enumerates all entries using an input function with the possibility to interrupt and modify the list while enumerating

List ( -- list )  creates an empty LinkedList

makeList ( value size -- list )  creates a LinkedList from multiple copies of a given value

makeList ( range -- list )  creates a list from a range, entries of the list will be aliases of entries of the input range

makeList ( builtinList -- list )  creates a list from a builtin-list, entries of the list will be aliases of entries of the input builtin-list

= ( iterator iterator -- condition )  checks if iterators point to the same entry

Tags

LIST

CONTAINER