[ 
https://issues.apache.org/jira/browse/COLLECTIONS-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Radford Tam updated COLLECTIONS-471:
------------------------------------

    Attachment: BoundedIteratorTest.java
                BoundedIterator.java

Here is the BoundedIterator and a JUnit test for it.
Let me know if there's a better way for me to submit the code, and let me know 
what I should change or add to the class or the unit test.

> 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.x
>
>         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)

Reply via email to