[jira] [Updated] (COLLECTIONS-675) Modify IteratorUtils.peekingIterator signature to return PeekingIterator

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (COLLECTIONS-675) Modify IteratorUtils.peekingIterator signature to return PeekingIterator

JIRA jira@apache.org

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

Matthew Knight updated COLLECTIONS-675:
---------------------------------------
    Summary: Modify IteratorUtils.peekingIterator signature to return PeekingIterator  (was: Modify IteratorUtils.peekingIterator to return PeekingIterator)

> Modify IteratorUtils.peekingIterator signature to return PeekingIterator
> ------------------------------------------------------------------------
>
>                 Key: COLLECTIONS-675
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-675
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: Iterator
>    Affects Versions: 4.1
>            Reporter: Matthew Knight
>            Priority: Trivial
>
> IteratorUtils.peekingIterator currently returns java.util.Iterator, which requires casts or assumptions in order to make use of peek method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)