commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radford Tam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COLLECTIONS-471) Add a BoundedIterator which returns at most limit elements
Date Fri, 22 Nov 2013 01:02:32 GMT

    [ https://issues.apache.org/jira/browse/COLLECTIONS-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829535#comment-13829535
] 

Radford Tam commented on COLLECTIONS-471:
-----------------------------------------

Ok, I've reworked both the class and the test.

1) Apache license header has been added.
2) Apache commons code format has been applied.
3) Constructor BoundedIterator(Iterator, max) has been added.
4) The remove method has been implemented and corresponding tests added.

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

Mime
View raw message