From b45745c3491eb6a845ab1289a004083221f19f55 Mon Sep 17 00:00:00 2001
From: Siyu Wang <siyukw@cs.washington.edu>
Date: Tue, 8 Oct 2019 11:42:46 -0700
Subject: [PATCH] Add restriction on iterator

---
 src/datastructures/dictionaries/MoveToFrontList.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/datastructures/dictionaries/MoveToFrontList.java b/src/datastructures/dictionaries/MoveToFrontList.java
index 59ea9b6..04e509e 100644
--- a/src/datastructures/dictionaries/MoveToFrontList.java
+++ b/src/datastructures/dictionaries/MoveToFrontList.java
@@ -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
-- 
GitLab