2
I need to iterate on a text and take every word of it, store it in a structure (like TreeMap) and together with each word the lines in which they appear, to generate a remissive index.
My big doubt has been on how to structure this, because using TreeMap I can put the word, but only one Integer for every word?