[
https://issues.apache.org/jira/browse/JCR-2120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710932#action_12710932
]
David Purpura commented on JCR-2120:
------------------------------------
fair enough.
But, it would be nice if generics were supported, such that the following would
be possible:
Node root = session.getRootNode();
for (Node n : root.getNodes()){
//actions to perform
}
or the equivalent with node properties and other range iterator based
implementations
> Make RangeIterator extend java.lang.Iterable
> --------------------------------------------
>
> Key: JCR-2120
> URL: https://issues.apache.org/jira/browse/JCR-2120
> Project: Jackrabbit Content Repository
> Issue Type: New Feature
> Components: JCR API
> Reporter: David Purpura
>
> Make javax.jcr.RangeIterator extend java.lang.Iterable in order to enable
> foreach loops on implementations of RangeIterator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.