Skip to content

Iterator


abstract class Iterator<Type>

Iterator over the elements of a container.

Member Functions

Name Description
hasNext Is there a next element?
next Get the next element.

Member Function Details

hasNext

abstract function hasNext() -> Boolean

Is there a next element?

next

abstract function next() -> Type

Get the next element.