Hello, I don't understand why my method is not working well.
public static HashSet<Integer> removeAllNumbersGreaterThan10(HashSet<Integer> set) {
       HashSet<Integer> set2 = new HashSet<>();
       for(Integer element : set){
           if(element <= 10){
           set2.add(element);
           }
       }
       return set2;
   }
I don't understand why I have the numbers superior to 10 in the output. (I choose to have an output to understand better even if it's not asked). Thanks!