Next: , Previous: , Up: LinkedList   [Index]


1.104.4 LinkedList: iteration

first

Retrieve the first element of the list and return it, or error if the list is empty.

last

Retrieve the last element of the list and return it, or error if the list is empty.