You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matthew Knight (JIRA)" <ji...@apache.org> on 2018/02/21 07:46:01 UTC

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

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)