Lines Matching refs:matchPatterns
60 * @param matchPatterns
67 public boolean deleteLines(Set matchPatterns) throws Exception {
70 Map patternOccurrances = getPatternOccurences(matchPatterns);
71 if (patternOccurrances.size() == matchPatterns.size()) {
72 TreeSet removeLines = addSuccessiveDeleteLines(matchPatterns,
81 Set matchPatterns = new HashSet();
82 matchPatterns.add(pattern);
83 Map patternOccurrances = getPatternOccurences(matchPatterns);
88 TreeSet removeLines = addSuccessiveDeleteLines(matchPatterns,
96 private TreeSet addSuccessiveDeleteLines(Set matchPatterns,
99 Iterator iter = matchPatterns.iterator();
192 public Map getPatternOccurences(Set matchPatterns) throws Exception {
208 matchAndAddLineNumbers(matchPatterns, lineData, lineNumber,
227 private void matchAndAddLineNumbers(Set matchPatterns, String lineData,
230 Iterator iter = matchPatterns.iterator();