public List<Head> getNextHeads(char c) {if (matches(c)) {return newHeads;}return FileNameMatcher.EMPTY_HEAD_LIST;}

public virtual IList<Head> GetNextHeads(char c){if (Matches(c)){return newHeads;}else{return FileNameMatcher.EMPTY_HEAD_LIST;}}
