@@ -0,0 +1,729 @@
+package org.psjava.ds.array;%0A%0Aimport java.util.Iterator;%0A%0Aimport org.psjava.javautil.IterableToString;%0A%0A%0A%0Apublic class MutableArrayUsingLongArray %7B%0A%09%0A%09public static MutableArray%3CLong%3E wrap(final long%5B%5D a) %7B%0A%09%09return new MutableArray%3CLong%3E() %7B%0A%09%09%09@Override%0A%09%09%09public Long get(int i) %7B%0A%09%09%09%09return a%5Bi%5D;%0A%09%09%09%7D%0A%0A%09%09%09@Override%0A%09%09%09public void set(int i, Long v) %7B%0A%09%09%09%09a%5Bi%5D = v;%0A%09%09%09%7D%0A%0A%09%09%09@Override%0A%09%09%09public int size() %7B%0A%09%09%09%09return a.length;%0A%09%09%09%7D%0A%0A%09%09%09@Override%0A%09%09%09public final boolean isEmpty() %7B%0A%09%09%09%09return size() == 0;%0A%09%09%09%7D%0A%0A%09%09%09@Override%0A%09%09%09public final Iterator%3CLong%3E iterator() %7B%0A%09%09%09%09return ArrayIterator.create(this);%0A%09%09%09%7D%0A%0A%09%09%09@Override%0A%09%09%09public final String toString() %7B%0A%09%09%09%09return IterableToString.toString(this);%0A%09%09%09%7D%0A%09%09%7D;%0A%09%7D%0A%0A%7D%0A

add a util