LinkedList.firstIter

Returns an iterator pointing to the first entry of the list.

Arguments

None

Return values

iterator
is an ListIterator pointing to the first element. If the list is empty, an "end" iterator is returned (see endIter).

Complexity

Constant

Example

"sl/linkedList" useFile a: (1 2 0 5 "Hello" 0.3) makeList; a.firstIter.get print
Output:
1