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

Merge branch 'master' of gitlab.cs.washington.edu:cse332-19au/p2

parents abb9e1a1 b45745c3
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,9 @@ import cse332.interfaces.misc.Dictionary;
* 6. We suggest you hard code some prime numbers. You can use this
* list: http://primes.utm.edu/lists/small/100000.txt
* NOTE: Do NOT copy the whole list!
* 7. When implementing your iterator, you should NOT copy every item to another
* dictionary/list and return that dictionary/list's iterator.
*/
public class ChainingHashTable<K, V> extends DeletelessDictionary<K, V> {
private Supplier<Dictionary<K, V>> newChain;
......
......@@ -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