eekboom
10/29/2019, 1:53 PMmarstran
10/29/2019, 2:15 PMsubList
and listIterator
are defined on lists, but not sequences.Burkhard
10/29/2019, 2:22 PMsubList
can be replaced with subSequence
on sequences. listIterator
however is special, since it returns an iterator that allows traversal in both directions. This is not possible for sequences so AFAIK it’s the only function that does not translate to sequences.iterator
is good enough.eekboom
10/29/2019, 2:49 PM