problem import text and conbined with ArrayList
Hi... I am new to java and I want some help.
I want to join a text file with an ArrayList. I have the code that read line for line the text and saves it in the buffer.
In the text there are two parts ("label" and "definition") it's a glossary. The program that I run now is reading the term and give me as feedback the definition from ArrayList. label and definition sometimes are more than one word.
I would like to tell me what is the simplest solution while I type the label the to give me the definition.