+ (ArrayIterator)
Returns an iterator shifted backward by a given number of entries.
Arguments
iterator0
is the initial ArrayIterator.shift
is an integer number to shift the iterator by.
Return values
iterator1
is the iterator shifted forward by the given number of positions. If shift
is zero, returns the same iterator, if it is negative, shifts backward.
Complexity
Constant
Example
Output:
-1,2,3,FIVE,6,7,