Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
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.
Attachments
Issue Links
- is duplicated by
-
UIMA-5677 uv3 internal list iterators - align with definition of previous
- Resolved