連続する比較式 (例: "a".equals(str) || "b".equals(str) || "c".equals(str)) から Set<String> を抽出します。