You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cache the result of hasNext() until next() or remove() is invoked.
This avoids repeated hasNext() calls on nested chained iterators,
significantly reducing overhead in deeply nested scenarios.
Copy file name to clipboardExpand all lines: src/changes/changes.xml
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@
32
32
<actiontype="fix"dev="ggregory"due-to="Sebastian Götz, Gary Gregory"issue="COLLECTIONS-874">MapUtils.getLongValue(Map, K, Function) returns a byte instead of a long.</action>
33
33
<actiontype="fix"dev="ggregory"due-to="Gary Gregory">Fix exception message in org.apache.commons.collections4.functors.FunctorUtils.validate(Consumer...)</action>
34
34
<actiontype="fix"dev="ggregory"due-to="Gary Gregory">Fix exception message in org.apache.commons.collections4.iterators.UnmodifiableIterator.remove() to match java.util.Iterator.remove().</action>
35
+
<actiontype="fix"dev="pkarwasz"due-to="Piotr P. Karwasz, Joerg Budischewski"issue="COLLECTIONS-838">Calling SetUtils.union on multiple instances of SetView causes JVM to hang</action>
35
36
<!-- ADD -->
36
37
<actiontype="add"dev="ggregory"due-to="Gary Gregory">Add generics to UnmodifiableIterator for the wrapped type.</action>
0 commit comments