Won't this crash if y.retainAll left y empty?