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

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

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

JIRA jira@apache.org
Matthew Knight created COLLECTIONS-675:
------------------------------------------

             Summary: Modify IteratorUtils.peekingIterator 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


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)