Commons Collections
  1. Commons Collections
  2. COLLECTIONS-471

Add a BoundedIterator which returns at most limit elements

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1
    • Component/s: None
    • Labels:
      None

      Description

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

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

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Thomas Neidhart
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development