Project

Profile

Help

Bug #4907

closed

IntHashMap.IntHashMapValueIterator - hasNext() is not stateless

Added by Michael Kay about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2021-02-16
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

The class IntHashMap.IntHashMapValueIterator does not correctly implement the java.lang.Iterator interface because its hasNext() method is stateful - the iterator works only if hasNext() is called exactly once before every call of next().

Please register to edit this issue

Also available in: Atom PDF