I have to stock lots of word (+200k) in a Java program and I want to access them really fast.
I just need to know if a given word belongs to my "dictionary". I don't need a pair like <word, smthg>
.
If possible I'm searching a solution in the standard library.
PS : Maybe using a data structure is not the better way to do this ? Reading each time the file containing the words will be more efficient ?
edit : It's a small project. I have to deal with effectiveness and the memory
Last Edit : I finally choose HashSet.