Share via


MapIterator.begin Method

Moves the iterator to the start of the map.

Syntax

public void begin()

Run On

Called

Remarks

Newly created map iterators are positioned at the first element in the map, so you do not have to call the begin metohd before you iterate through the set. You must call begin if you want to reset the pointer.

See Also

MapIterator Class

MapIterator.end Method