Posts by Lone_Dryad • 43 points
3 posts
-
2
votes1
answer420
viewsQ: Create Java Index by generating HTML file?
I needed to create a reference index with a book passed by parameter (File, BufferedReader). So far I did not get good results, I have only a code that generates a TreeSet with all words of text…
javaasked Lone_Dryad 43 -
0
votes1
answer611
viewsQ: Compare each word of the given text and save the lines in which the text appears
I have the following methods in java, the split method separates each word from a text and stores it in a Treeset<> to maintain the alphabetical order and returns the Treeset<> in…
javaasked Lone_Dryad 43 -
2
votes1
answer347
viewsQ: How to create a Treemap to store words and lines where they appear?
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…
javaasked Lone_Dryad 43