Vector.endIter

Returns an end iterator of the vector.

Arguments

None

Return values

iterator
pointing to a non-existent element just after the last one.

Complexity

Constant

Example

"sl/algebra" useFile v1: (1.0 2.0 3.0) makeVector; it: v1.firstIter; [ it v1.endIter = ~ ] [ it.get print "," print it.next !it ] while
Output:
1.000000,2.000000,3.000000,