[
https://issues.apache.org/jira/browse/COLLECTIONS-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834348#comment-13834348
]
Radford Tam commented on COLLECTIONS-471:
-----------------------------------------
Ok cool.
Question though - if this is an Iterator decorator, don't we want a
getIterator() method? That method would have been inherited from
AbstractUntypedIteratorDecorator if it extended AbstractIteratorDecorator like
it was originally written to do.
> Add a BoundedIterator which returns at most limit elements
> ----------------------------------------------------------
>
> Key: COLLECTIONS-471
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-471
> Project: Commons Collections
> Issue Type: New Feature
> Reporter: Thomas Neidhart
> Fix For: 4.0.1
>
> Attachments: BoundedIterator.java, BoundedIteratorTest.java
>
>
> It would be nice to have a decorator which bounds the number of elements
> returned by the decorated iterator.
--
This message was sent by Atlassian JIRA
(v6.1#6144)