frequencyString


Description:

public static HashMap<string,int> frequencyString (ArrayList<string> list)

Counts the frequency of each string in the list.

Parameters:

list

the source list.

Returns:

a HashMap of element to count.