Ticket #20 (new)
Opened 2 years ago
Consider adding iterator method to IDMapper
| Reported by: | martijn | Owned by: | martijn |
|---|---|---|---|
| Milestone: | Component: | Core library | |
| Version: | Severity: | major | |
| Keywords: | Cc: |
Description
Consider adding an getIterator() method to IDMapper for looping over all Xrefs (or all Xrefs for a certain DataSource?).
This could be useful for some cases, e.g. for doing a linear search for certain conditions on the attributes, or for making a gui browser.
This can't be implemented for all types of IDMapper, so an UnsupportedOperationException? may be thrown. IDMapperFile and IDMapperRdb can readily implement this.
Note: See
TracTickets for help on using
tickets.
