# | Line 954 | Line 954 | public class ReadMostlyVector<E> | |
---|---|---|
954 | if (index < 0) | |
955 | ex = true; | |
956 | else | |
957 | < | idx = rawIndexOf(o, 0, count); |
957 | > | idx = rawIndexOf(o, index, count); |
958 | } finally { | |
959 | lock.unlock(); | |
960 | } | |
# | Line 1136 | Line 1136 | public class ReadMostlyVector<E> | |
1136 | } | |
1137 | } | |
1138 | ||
1139 | < | static final class Itr<E> implements ListIterator<E>, Enumeration<E> { |
1139 | > | static final class Itr<E> implements ListIterator<E>, Enumeration<E> { |
1140 | final ReadMostlyVector<E> list; | |
1141 | final SequenceLock lock; | |
1142 | Object[] items; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |