check a hashSet for values code example
Example: hashset contains java
HashSet<Integer> set = new HashSet<Integer>();
set.contains(110)//public boolean contains(Object o)
HashSet<Integer> set = new HashSet<Integer>();
set.contains(110)//public boolean contains(Object o)