= (LinkedList)

Check if iterators point to the same entry.

Arguments

iterator0
and
iterator1
are the ListIterators to check.

Return values

condition
is TRUE if the iterators point to the same list entry, FALSE otherwise.

Complexity

Constant

Example

"sl/linkedList" useFile a: (1 2 0 5 "Hello" 0.3) makeList; it: a.firstIter; [ it a.endIter = ~ ] [ it.get print "," print it.next !it ] while
Output:
1,2,0,5,Hello,0.300000,