IEnumerator.nextItem

Overview | Methods | This Package | All Packages

IEnumerator.nextItem

Retrieves the next item.

Syntax

public Object nextItem()

Return Value

Returns the next item.

Remarks

If the last item has already been retrieved, this method should throw an exception.