boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; InstanceFilter filter = (InstanceFilter)o; if (ID != filter.ID) return false; if (ENABLED != filter.ENABLED) return false; return true; }