|
|
|
|
![]() |
Foswiki::AggregateIteratorChanged by ProjectContributor on 12 Sep 2009 - 04:10 - r1
package Foswiki::AggregateIteratorimplements Foswiki::IteratorCombine multiple iterators into a single iteration.
new(\@list, $unique)Create a new iterator over the given list of iterators. The list is not damaged in any way.
If
hasNext() -> $booleanReturns false when the iterator is exhausted.
next() -> $dataReturn the next entry in the list. The iterator object can be customised to pre- and post-process entries from the list before returning them. This is done by setting two fields in the iterator object:
![]() |