boolean (@NotNull String list) { Set<String> tempSet = new HashSet<>(list.length()/3); StringTokenizer tokenizer = new StringTokenizer(list, ";"); while (tokenizer.hasMoreTokens()) { tempSet.add(tokenizer.nextToken()); } return tempSet.equals(myIgnoredPatterns.getIgnoreMasks()); }