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

Add a BoundedIterator which returns at most limit elements

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1
    • None
    • None

    Description

      It would be nice to have a decorator which bounds the number of elements returned by the decorated iterator.

      Attachments

        1. BoundedIterator.java
          6 kB
          Radford Tam
        2. BoundedIteratorTest.java
          12 kB
          Radford Tam

        Activity

          People

            Unassigned Unassigned
            tn Thomas Neidhart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: