“阿米戈,船長打來電話,說了一些工廠和秘密特工的事。你是我的朋友,對吧?去這個特工 IntelliJ IDEA 看看工廠的情況。但是,噓!不要告訴任何人。 “
“是的,我認識特工。我們一起度過了很多時間。別擔心,我已經在路上了。”
18
任務
Java Collections, 等級 7, 課堂 4
上鎖
Circular iterator
The Solution class inherits ArrayList.
Properly override the iterator method in the Solution class.
Write your own CircularIterator class inside the Solution class. It will be an iterator for the Solution list.
The iterator must move circularly through all of the elements.