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
Sorry I couldn't get back to you sooner - on vacation. Clojure's PersistentVector is different from Java's ArrayList in that it does not support random insertion (in other ways as well). However, the RRB-Tree in Paguro (and a different one in Clojure) does. RrbTree in this project has .insertAt(T, int) that should do what you need. The way your question is worded may also require .indexOf(Object).
Is there an example for best practice of inserting an element before an existing element in ImList, MutList?
Do I have to
The text was updated successfully, but these errors were encountered: