Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0SDK-beta
-
None
Description
The Java definition of previous and next says that next followed by previous followed by next etc. always returns the same value.
In our impls, this means that
- next returns the currently pointed-to object, then advances, and
- previous first goes backwards, and then returns that object
Some of our internal implementations implement previous by returning the currently pointed-to object and then goes backwards. Fix the implementations and uses (if any) (including the hasPrevious) to do this following the same conventions as Java.
Attachments
Issue Links
- duplicates
-
UIMA-5666 uv3 previous call in list style iterators not quite right
- Resolved