return this.patternList.toArray(new IPattern[this.patternList.size()]);
}
public boolean matches(String string) {
for (int i = 0; i < this.patternList.size(); i++) {
IPattern pattern = this.patternList.get(i);
if (pattern.matches(string)) {
return true;
}
}
return false;
}