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 Wed, 27 Nov 2013 23:32:39 GMT

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

Mime
View raw message