You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Fredrik Kjellberg (JIRA)" <ji...@apache.org> on 2008/03/18 17:11:24 UTC

[jira] Created: (COLLECTIONS-289) Add new method getIteratorIndex() to CollatingIterator

Add new method getIteratorIndex() to CollatingIterator
------------------------------------------------------

                 Key: COLLECTIONS-289
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-289
             Project: Commons Collections
          Issue Type: Improvement
          Components: Iterator
    Affects Versions: 3.3
            Reporter: Fredrik Kjellberg
             Fix For: 3.3


I'm using the CollatingIterator in a project where I need to know from which iterator the last
element was returned.

This patch adds one new method:

public int getIteratorIndex()


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COLLECTIONS-289) Add new method getIteratorIndex() to CollatingIterator

Posted by "Fredrik Kjellberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fredrik Kjellberg updated COLLECTIONS-289:
------------------------------------------

    Attachment: getIteratorIndex.patch

> Add new method getIteratorIndex() to CollatingIterator
> ------------------------------------------------------
>
>                 Key: COLLECTIONS-289
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-289
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: Iterator
>    Affects Versions: 3.3
>            Reporter: Fredrik Kjellberg
>             Fix For: 3.3
>
>         Attachments: getIteratorIndex.patch
>
>
> I'm using the CollatingIterator in a project where I need to know from which iterator the last
> element was returned.
> This patch adds one new method:
> public int getIteratorIndex()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COLLECTIONS-289) Add new method getIteratorIndex() to CollatingIterator

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed COLLECTIONS-289.
-------------------------------------

    Resolution: Fixed

Nice patch.

svn ci -m "Applying Fredrik Kjellberg's patch that adds getIteratorIndex() as per COLLECTIONS-289" src

Sending        src/java/org/apache/commons/collections/iterators/CollatingIterator.java
Sending        src/test/org/apache/commons/collections/iterators/TestCollatingIterator.java
Transmitting file data ..
Committed revision 638693.

> Add new method getIteratorIndex() to CollatingIterator
> ------------------------------------------------------
>
>                 Key: COLLECTIONS-289
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-289
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: Iterator
>    Affects Versions: 3.3
>            Reporter: Fredrik Kjellberg
>            Priority: Minor
>             Fix For: 3.3
>
>         Attachments: getIteratorIndex.patch
>
>
> I'm using the CollatingIterator in a project where I need to know from which iterator the last
> element was returned.
> This patch adds one new method:
> public int getIteratorIndex()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COLLECTIONS-289) Add new method getIteratorIndex() to CollatingIterator

Posted by "Fredrik Kjellberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COLLECTIONS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fredrik Kjellberg updated COLLECTIONS-289:
------------------------------------------

    Priority: Minor  (was: Major)

> Add new method getIteratorIndex() to CollatingIterator
> ------------------------------------------------------
>
>                 Key: COLLECTIONS-289
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-289
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: Iterator
>    Affects Versions: 3.3
>            Reporter: Fredrik Kjellberg
>            Priority: Minor
>             Fix For: 3.3
>
>         Attachments: getIteratorIndex.patch
>
>
> I'm using the CollatingIterator in a project where I need to know from which iterator the last
> element was returned.
> This patch adds one new method:
> public int getIteratorIndex()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.