Question: Java code that takes input and makes it into a hastable result. hastable has a string as key, and linked list as elements. public static
Java code that takes input and makes it into a hastable result.
hastable has a string as key, and linked list as elements.
public static Hashtable
this is input:
# test1 #test test
[common\\f1.txt
(A,aaaa a1 a2 a3
(A,bbbb b1 b2 b3
[common\\f2.txt
(A,cccc c1 c2 c3
hashtable result needs to be:
common\\f1.txt=[aaa, a1, a2, a3, bbbb, b1, b2, b3], [common\\f2.txt =[cccc, c1, c2, c3]
code needs to be able to compile and run to be correct!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
