Okay, so if I were writing some new code in a Jena module, and I needed to do some of the tasks for which these guys have facilities (e.g. filtering), how should I select a type to use? Should I only use ExtendedIterator's methods if the thing I already have in hand is an ExtendedIterator? Put another way, is it ever appropriate to create an ExtendedIterator in a situation in which I am not beholden to so do by interface requirements?
Thanks for helping me get some understanding on this. --- A. Soroka The University of Virginia Library On Jul 21, 2015, at 3:36 PM, Andy Seaborne <[email protected]> wrote: > > Iter is used in SDB and TDB as well where there are lots of iterators for all > sort so things. > > ExtendedIterator only works with ExtendedIterator. Not everything generates > ExtendedIterators. > > Iter is for working with java.util.Iterator; it is a different style where > the statics are more important than the class methods. It does allow > chaining but generally I don't think that style is very common in the code > base. > > Andy
