Whats the strategy to get the "value" of a word if its in the ArrayList. like for instance i use a TreeMap to bag a whole document inside and use the arrayList as an indicator how many lines there are . like for example and is in line 1 2, 4, 6. so if we want to get the value (line number) of the word, how do we do it
Question
OrangeSoul
Whats the strategy to get the "value" of a word if its in the ArrayList. like for instance i use a TreeMap to bag a whole document inside and use the arrayList as an indicator how many lines there are . like for example and is in line 1 2, 4, 6. so if we want to get the value (line number) of the word, how do we do it
Link to comment
Share on other sites
3 answers to this question
Recommended Posts