Fix for Java 7 - std::set and std::unordered_set
This commit is contained in:
parent
1c70dbdb6c
commit
4c86f45c54
2 changed files with 8 additions and 0 deletions
|
|
@ -96,6 +96,10 @@ class set {
|
||||||
public boolean hasNext() {
|
public boolean hasNext() {
|
||||||
return curr.isNot(end);
|
return curr.isNot(end);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void remove() {
|
||||||
|
throw new java.lang.UnsupportedOperationException();
|
||||||
|
}
|
||||||
}.init();
|
}.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,10 @@ class unordered_set {
|
||||||
public boolean hasNext() {
|
public boolean hasNext() {
|
||||||
return curr.isNot(end);
|
return curr.isNot(end);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void remove() {
|
||||||
|
throw new java.lang.UnsupportedOperationException();
|
||||||
|
}
|
||||||
}.init();
|
}.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue