174 |
|
if (!all.equals(s)) |
175 |
|
fail("Failed to reconstruct ints from odds and evens."); |
176 |
|
|
177 |
< |
all = clone(odd, cl, synch); |
177 |
> |
all = clone(odd, cl, synch); |
178 |
|
ListIterator<Integer> itAll = all.listIterator(all.size()); |
179 |
|
ListIterator<Integer> itEven = even.listIterator(even.size()); |
180 |
|
while (itEven.hasPrevious()) { |
205 |
|
Object o = it.next(); |
206 |
|
if (all.indexOf(o) != all.lastIndexOf(o)) |
207 |
|
fail("Apparent duplicate detected."); |
208 |
< |
if (all.subList(i, all.size()).indexOf(o) != 0) { |
208 |
> |
if (all.subList(i, all.size()).indexOf(o) != 0) { |
209 |
|
System.out.println("s0: " + all.subList(i, all.size()).indexOf(o)); |
210 |
|
fail("subList/indexOf is screwy."); |
211 |
|
} |