mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
fixed iterator remove() methods so they dont skip container elements
This commit is contained in:
committed by
Leslie Watkins
parent
3aefae4470
commit
2bb3582195
@@ -159,6 +159,7 @@ public class IntDict {
|
||||
|
||||
public void remove() {
|
||||
removeIndex(index);
|
||||
index--;
|
||||
}
|
||||
|
||||
public String next() {
|
||||
@@ -219,6 +220,7 @@ public class IntDict {
|
||||
|
||||
public void remove() {
|
||||
removeIndex(index);
|
||||
index--;
|
||||
}
|
||||
|
||||
public Integer next() {
|
||||
|
||||
Reference in New Issue
Block a user