hasNext()

This method verifies whether a specified iterator has a next item.

This page discusses:

Arguments

iteratorId: String ID of an iterator obtained with getObjectiveIterator() or getConstraintIterator().

Return Value

Returns true if the iterator has at least one additional entry.