Course Solutions Uncategorized (Solved) : 2 Arrays One Type String One Type Int Used Hashmap Map Values 2 Arrays Sorted Type Int Arr Q36057090 . . . .

(Solved) : 2 Arrays One Type String One Type Int Used Hashmap Map Values 2 Arrays Sorted Type Int Arr Q36057090 . . . .

 

I have 2 arrays, one type String and one type Int. I usedHashMap to map the values of 2 arrays. Then, I sorted type Intarray . Finally, I need to print the String value follow the sortedtype Int array. However, it seems I can’t use array as HashMap key.Is there anyway to solve this? Any help with detail is appreciated.Thank you!

p.s: I only want to print first 30 pair values. It explains forline if(j<30)

public void mapping(String[] A, int[] B) for(int i-e; 1A,length; 1++) map.put (A[i], B[i] ) public void print(String[] A, int

public void mapping(String[] A, int[]

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post