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
java.lang.UnsupportedOperationException: remove
at java.base/java.util.Iterator.remove(Iterator.java:102)
at java.base/java.util.AbstractCollection.clear(AbstractCollection.java:431)
at java.base/java.util.AbstractMap.clear(AbstractMap.java:297)
The text was updated successfully, but these errors were encountered:
Indeed those optional APIs are not yet implemented. They are on the TODO list. Meanwhile instead of Iterator.remove() it is possible to use an iterator and invoke remove() on relevant key-value mapping. For clear() there is no good alternative. Using close() and building again will release the entire off-heap memory and allocate again.
Create a map and call
.clear()
:The text was updated successfully, but these errors were encountered: