jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Müller <thomas.muel...@day.com>
Subject Re: [jira] Reopened: (JCR-2120) Make RangeIterator extend java.lang.Iterable
Date Wed, 20 May 2009 11:40:08 GMT

> this has always been the same

> it depends on how familiar the reader is with static
> imports in general

Sure, it depends on how open you are to learn and use new stuff.

> The best API would be:
>  for (Node child : node.getNodes())


> and I think we get there once java.util.Iterator implements Iterable, which
> I think is planned for future Java release.

I don't believe this is going to happen in the near future, if it
happens at all. If you have a link where you read that, could you
please post it?


View raw message