@Override public FilterSet clone() { FilterSet result = new FilterSet(); for (MappingFilter f : this) { result.add(f.clone()); } return result; }
@Override public boolean equals(Object o) { if (o instanceof FilterSet) { FilterSet f = (FilterSet) o; if (f.size() != this.size()) { return false; } for (int i = 0; i < f.size(); i++) { if (!f.get(i).equals(this.get(i))) { return false; } } return true; } return false; }