Class Iterable
This interface is implemented by the List, Set, and Map classes; it provides the iterator read-only property that returns an Iterator.
Typical usage is:
var it = anIterableCollection.iterator; while (it.next()) { var item = it.value; }
Constructor Summary Details
Returns | Name | Description |
---|---|---|
Iterable()
|
This is an interface and thus does not have a constructor.
|
Properties Summary Details
Returns | Name | Description |
---|---|---|
{Iterator.
|
iterator
|