Duke Computer Science Shield

CompSci 201: Data Structures & Algorithms

Recitation

Fall 2012

 

Recitation 7:
Interfaces

October 19, 2012

 

Snarf the recitation 7 code.
You have been given three classes that each implement the interface IMapper.java, a simple Map implementation. In HashMain.java you will need to create three objects, hash1, hash2, and hash3 of type IMapper where each of your hash variables implements a map using a different data structure. One will use an array list, one a hash set, and one a linked list. After adding your three IMapper objects, your code should compile. Run your code loading in 5 different data files from your Markov assignment.
Submit through ambient a pdf file containing: