Sets a new current element of an aggregate for the iterator. The new element replaces the previously current element.