The purpose of the Iterator
object is to provide programmatic access to the Java Iterator object.
Below is a list of exposed object properties.
For example usage of all available APIs, please see the unit tests.
/* No public constructor. */
/**
* Returns true if the iteration has more elements.
*
* @returns {boolean}
*/
Iterator.prototype.hasNext = function () { /* ... */ };
/**
* Returns the next element in the iteration.
*
* @returns {?}
*/
Iterator.prototype.next = function () { /* ... */ };
/**
* Removes the current element from the underlying collection.
*/
Iterator.prototype.remove = function () { /* ... */ };