Skip to content
Snippets Groups Projects
Commit b45745c3 authored by Kat Wang's avatar Kat Wang
Browse files

Add restriction on iterator

parent e573f966
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,9 @@ import cse332.interfaces.misc.DeletelessDictionary;
* 4. You need to implement an iterator. The iterator SHOULD NOT move
* elements to the front. The iterator should return elements in
* the order they are stored in the list, starting with the first
* element in the list.
* element in the list. When implementing your iterator, you should
* NOT copy every item to another dictionary/list and return that
* dictionary/list's iterator.
*/
public class MoveToFrontList<K, V> extends DeletelessDictionary<K, V> {
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment