Set has contains(Object o) method instead of get(Object o) method as get is needed for comparing object and getting corresponding value.
Previous Question Next Question
Your comments will be displayed only after manual approval.