[
https://issues.apache.org/jira/browse/UIMA-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marshall Schor resolved UIMA-5666.
----------------------------------
Resolution: Duplicate
> uv3 previous call in list style iterators not quite right
> ---------------------------------------------------------
>
> Key: UIMA-5666
> URL: https://issues.apache.org/jira/browse/UIMA-5666
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Fix For: 3.0.0SDK
>
>
> Java has a ListIterator interface, which defines previous() and next() such
> that repeated operations of next(), previous(), ... return the same item.
> This means that the next impl returns the current item and then advances the
> position, while the previous impl decrements the position (first) and then
> returns that item.
> v3 added impl of ListIterator to fsIterator, but implemented this backwards
> for previous. Change this to comply with the definition in listIterator.
> Also, change other list-iterator like things. that have the same issue. This
> change should not cause backwards compatibility issues, because v2 didn't
> implement ListIterator interface for FsIterators.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)