Ticket #347 (closed todo: done)
Itertools
| Reported by: | ichthyo | Owned by: | ichthyo |
|---|---|---|---|
| Priority: | lesser | Milestone: | 1alpha |
| Component: | lumieraProc | Keywords: | lib |
| Cc: | Blocked By: | #182, #475, #491 | |
| Blocking: | #283, #675, #874 |
Description
Start a collection of Iterator-tools, similar to the Python module, or the Commons-Collections IteratorUtils, or the respective features of Groovy.
Of course we're not writing a library, so we'll add here what is needed, starting with
- a filtered iterator
- a transform iterator
Possibly also (if not too difficult to implement)
- a chain iterator
- a dropwhile
Change History
comment:2 Changed 2 years ago by ichthyo
implemented an transform iterator, allowing to define PlacementIndex::iterator in terms of an transformer and a range yielded from the embedded hashtable
comment:7 Changed 2 years ago by ichthyo
added caching to FilterIter, implemented duplicate-filtering iterator
comment:8 Changed 23 months ago by ichthyo
- Blocked By 486 removed
(In #486) ugly, but not an urgent problem right now. Pushing to future
Note: See
TracTickets for help on using
tickets.

did the first steps here, due to the ContentsQuery, which can be implemented quite elegantly with a filter on top of the scope enumeration capability of the PlacementIndex