More tools around PlIterator:
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 31 Aug 2008 19:34:46 +0000 (21:34 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 31 Aug 2008 19:34:46 +0000 (21:34 +0200)
commit5177a1b50e47e7d62a66aba9565580af3abf15dd
treeb882ee9a7e04ff10901eacac6eb1d192f97eecb2
parenteda18149373d85ebbf9a529fb56bcb6d213e2b84
More tools around PlIterator:
 -> iterator sorter: PlIteratorUtils::sort($it, $callback)
 -> iterator merger: PlIteratorUtils::merger(array($it1, $it2), $callback)

Move usage of PlArrayIterator to PlIteratorUtils::fromArray($array).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/plheap.php [new file with mode: 0644]
classes/pliterator.php
classes/pliteratorutils.php [moved from classes/plarrayiterator.php with 51% similarity]