Packagecom.yworks.support
Classpublic class SingleIterable
InheritanceSingleIterable Inheritance Object
Implements Iterable

An iterable that iterates a single item, only.

See also

SingleIterator


Protected Properties
 PropertyDefined By
  _item : Object
SingleIterable
Public Methods
 MethodDefined By
  
SingleIterable(value:Object)
Creates an instance that will iterate the single given item.
SingleIterable
  
Returns an iterator over a set of elements.
SingleIterable
Property Detail
_itemproperty
protected var _item:Object

Constructor Detail
SingleIterable()Constructor
public function SingleIterable(value:Object)

Creates an instance that will iterate the single given item.

Parameters
value:Object
Method Detail
iterator()method
public function iterator():Iterator

Returns an iterator over a set of elements.

Returns
Iterator — an Iterator.