Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-675

Modify IteratorUtils.peekingIterator signature to return PeekingIterator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Trivial
    • Resolution: Unresolved
    • 4.1
    • 5.0
    • Core, Iterator

    Description

      The IteratorUtils.peekingIterator() signature currently says it returns java.util.Iterator, which requires casts or assumptions in order to make use of peek() method.

      Attachments

        Activity

          People

            Unassigned Unassigned
            matthewknight Matthew Knight
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: