Documentation
Reference
2.1.55 (current version)
collection
interactivityModel
Interfaces

IIterator

Interface for an iterator. The iterator allows you to iterate through all the items in a collection.

Constructor | Fields | Methods

Constructor

IIterator()

Fields

NameTypeDescription
STOP_ITERATIONObject

The object returned by the method IIterator#getNext at the end of the iteration.

Methods

NameReturnsDescription
getNext()

Object|IIterator#STOP_ITERATION

Returns a reference to the next item in the collection or the IIterator.#STOP_ITERATION object if the iteration is completed.

Fields details

STOP_ITERATION

{Object} STOP_ITERATION

The object returned by the method IIterator#getNext at the end of the iteration.

Methods details

getNext

{Object|IIterator#STOP_ITERATION} getNext()

Returns a reference to the next item in the collection or the IIterator.#STOP_ITERATION object if the iteration is completed.