516517518519520521522523524525526
assertEquals(items.length, array.length()); for (int i = 0, n = array.length(); i < n; ++i) { assertEquals(items[i], array.get(i)); } array.sort(new CanCompareInt() { @Override public int compare(int a, int b) { return b - a; } });