i dont think many people get stuck very fast. i dont see how why is it that you dont have any problems with a single method:
Iterator<IModel<T> Then you still have to do exactly everything in the iterator... So create your real objects (not the integers) So why cant you do the exact same thing with the current setup?? johan On Thu, May 1, 2008 at 3:06 PM, Jan Kriesten <[EMAIL PROTECTED]> wrote: > > Hi Martijn, > > Apparently ONLY 6 folks think the usecase has some merit, but that is > > not enough to change such a widely used API in my opinion. More > > conclusive numbers have to be needed to convince me. > > > > wouldn't it at least be possible, to leave iterator returning > Iterator<Object>? I think it really is wrong to force instantiation of > objects with the iterator. > > If you don't use an ORM like Hibernate, you very fast get into the > situation where this really get's an issue. > > Regards, --- Jan. > > >