add a remove() method, which apparently java 8 did not need
This commit is contained in:
parent
8937d0607a
commit
c797a7d2a4
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ public final class StructList {
|
||||||
public boolean hasNext() {
|
public boolean hasNext() {
|
||||||
return idx < list.size();
|
return idx < list.size();
|
||||||
}
|
}
|
||||||
|
public void remove() {
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public java.util.Iterator<T> iterator() {
|
public java.util.Iterator<T> iterator() {
|
||||||
|
|
Loading…
Reference in a new issue