Packagecom.yworks.support
Classpublic class CompositeIterable
InheritanceCompositeIterable Inheritance Object
Implements Iterable

A composite iterable that enumerates two given enumerables one after the other.



Public Methods
 MethodDefined By
  
Creates an instance that is a composite of the given two instances.
CompositeIterable
  
Returns an iterator over a set of elements.
CompositeIterable
Constructor Detail
CompositeIterable()Constructor
public function CompositeIterable(first:Iterable, second:Iterable)

Creates an instance that is a composite of the given two instances.

Parameters
first:Iterable — The first iterable
 
second:Iterable — The second iterable
Method Detail
iterator()method
public function iterator():Iterator

Returns an iterator over a set of elements.

Returns
Iterator — an Iterator.