일련의 비교(예: "a".equals(str) || "b".equals(str) || "c".equals(str))에서 Set<String>을 추출합니다.