You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Radford Tam (JIRA)" <ji...@apache.org> on 2013/11/21 14:43:55 UTC
[jira] [Updated] (COLLECTIONS-471) Add a BoundedIterator which
returns at most limit elements
[ 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)