Modify entry to include the extra field for the next


1) modify Entry to include the extra field for the next reference. The method findIndex will need to utilize a hash value to find the appropriate bucket. Methods bucketGet and bucketPut will need to walk through the list as necessary looking for a key match.

or 2) instead of modifying Entry, modify UnsortedTableMap to create an array list of singly linked lists. Other methods will have to be modified as well to adapt the methods of the list class.

Test Driver: You will need to create a test driver. Create an implementation of Code Fragment 10.2, p. 405 in the textbook. Rather than reading from System.in, do file I/O with Java.

File Data and Name: In order to generate test data, you must use my file named 'system.txt' that is in the Blackboard Information content area. You can 'hard code' this name into your program - or better yet, pass the file name as a command line argument and read that within the test driver. And you might have to play around with `where' to put the file. Eclipse and Java don't necessarily look in the directory containing the code, but the directory above. (Try the CSIS-294 project folder.)

Deliverables: Submit online all source code that you have created and/or changed and at least one 'screen shot' output demonstrating program execution. "Capture" a screen shot by running the application, pressing ALT-PRTSCR, starting Word, copying clipboard contents to an empty document, and saving the document.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Modify entry to include the extra field for the next
Reference No:- TGS01163742

Expected delivery within 24 Hours