find words in a hashset or treeset?
- by icelated
I am piping in a file and storing it into a treeset. I am trying to count unique words..
I am placing words that i dont want into a hashset. "a","the", "and"
I want to check to see if the file contains those words, before i place them into
the TreeSet..
i know i need some sort of if(word == find) ? i just dont know how to do it..
Sorry about…