The HasNextIterator class wraps an Iterator and provides methods to iterate over an object using hasNext and next.

An HasNextIterator does not implement the Iterator interface.

Properties

hasNext bool
read-only

Constructors

HasNextIterator(Iterator _iterator)

Methods

next() → E