# | Line 1224 | Line 1224 | public class ScheduledThreadPoolExecutor | |
---|---|---|
1224 | * Snapshot iterator that works off copy of underlying q array. | |
1225 | */ | |
1226 | private class Itr implements Iterator<Runnable> { | |
1227 | < | final RunnableScheduledFuture[] array; |
1227 | > | final RunnableScheduledFuture<?>[] array; |
1228 | int cursor = 0; // index of next element to return | |
1229 | int lastRet = -1; // index of last element, or -1 if no such | |
1230 | ||
1231 | < | Itr(RunnableScheduledFuture[] array) { |
1231 | > | Itr(RunnableScheduledFuture<?>[] array) { |
1232 | this.array = array; | |
1233 | } | |
1234 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |