Code example for TreeSet

Methods: contains

0
        } 
	} 
 
	@Override 
	public boolean isWord(String word) {
		return dictionary.contains(word);
	} 
	 
	 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java