hi guys, I have project in data Structure by java ... project have a main file included many courses name,number,hours,and address for another file include student number,name,average
like that ( COMP231,Data Structure,3,C:\Users\rora\Desktop ) , I read the main file by AVL tree and print it by tree traversal ( inOrder, preOrder and postOrder ),, and it need to put the address in hash table and make some of calculation i.e average of course,average of semester for student and other . I need help in how put the address in hash table ??
question in save to hash table ?
Page 1 of 11 Replies - 127 Views - Last Post: 30 December 2012 - 03:11 AM
Replies To: question in save to hash table ?
#2
Re: question in save to hash table ?
Posted 30 December 2012 - 03:11 AM
HashTable<String, String> addresses = new HashTable() {
addresses.put("COMP231", "C:\Users\rora\Desktop");
}
You are on your own with you calculations, but it's as easy as that. I have a feeling that you may want more, so if you do please be more specific.
This post has been edited by farrell2k: 30 December 2012 - 03:17 AM
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|