Skip to content
Reference > Classes

Iterator

Definition

Iterator var = .... ;

Extends

Extended By

None

Method Summary

Owner Name Return Type Description
Object getClassName() String Returns the string name of this object's class type.
Iterator hasNext() Object Returns true if the iteration has more elements.(In other words, returns true if next would return an element rather than throwing an exception.)
Iterator next() Object Returns the next value from the iterator
Object toJson() String Returns a json representation of this object.

Method Definitions


hasNext()

Object Iterator::hasNext()

Description

Returns true if the iteration has more elements.(In other words, returns true if next would return an element rather than throwing an exception.)


next()

Object Iterator::next()

Description

Returns the next value from the iterator