Stop word using hadoop : in this condition i want to read data from file but not all word just some of word is this condition is correct and i import hashset could you pleas help me to solve this problem  



if (!set.contains(word.toString().equals(set)))

                                            { 
                                             word.set(str);
                                             context.write(word, one);
                                        
                                            }

                                           
                                           else 
                                             continue ;